Explorar o código

Revert wrong change on array_map

But would still be better with explicit UTF-8
Alexandre Alapetite %!s(int64=12) %!d(string=hai) anos
pai
achega
da2e4e09d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/minz/Request.php

+ 1 - 1
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');
 			}