Index: branches/5.2.x/core/kernel/utility/http_query.php =================================================================== diff -u -N -r15707 -r15856 --- branches/5.2.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 15707) +++ branches/5.2.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 15856) @@ -1,6 +1,6 @@ Application->isAdmin) { - $value = htmlspecialchars($value, null, CHARSET); + // TODO: always escape output instead of input + $value = kUtil::escape($value, kUtil::ESCAPE_HTML); } $array[$key] = $value;