Skip to content

A free, self-hostable news aggregator…

Revert wrong change on array_map

Alexandre Alapetiteda2e4e09d939
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');
}