mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-02 16:06:14 -04:00
Revert wrong change on array_map
But would still be better with explicit UTF-8
This commit is contained in:
1 parent
81f93dc2e2
commit
da2e4e09d9
1 file changed
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user