MDL-28345 make sure input parameters do not contain invalid utf-8 chars

This commit is contained in:
Petr Skoda
2011-07-15 15:00:49 +02:00
parent ecb8829273
commit 78fcdb5fdb
9 changed files with 92 additions and 14 deletions
+1 -1
View File
@@ -757,7 +757,7 @@ function data_submitted() {
if (empty($_POST)) {
return false;
} else {
return (object)$_POST;
return (object)fix_utf8($_POST);
}
}