summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-26 22:26:15 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-26 22:26:15 +0200
commitda2e4e09d939f49a69cfcd0b3a450f0484f51ff9 (patch)
tree42e2aa4cdaffc142738a4b4977ac122c06da4e9d /lib
parent81f93dc2e23f44c57a14d07e95e412090dc7428d (diff)
Revert wrong change on array_map
But would still be better with explicit UTF-8
Diffstat (limited to 'lib')
-rw-r--r--lib/minz/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/minz/Request.php b/lib/minz/Request.php
index eea5c87cb..bde17f988 100644
--- a/lib/minz/Request.php
+++ b/lib/minz/Request.php
@@ -35,7 +35,7 @@ class Request {
if(is_object($p) || $specialchars) {
return $p;
} elseif(is_array($p)) {
- return array_map('htmlspecialchars', $p, ENT_NOQUOTES, 'UTF-8');
+ return array_map('htmlspecialchars', $p); //TODO: Should use explicit UTF-8
} else {
return htmlspecialchars($p, ENT_NOQUOTES, 'UTF-8');
}