Skip to content
Snippets Groups Projects
Commit ff24637c authored by Jan Haller's avatar Jan Haller
Browse files

Refs #14233 - HTML in exception error message will not be replaced.

parent 456109a7
No related branches found
No related tags found
2 merge requests!691New version v24.3.0,!645F16236 sqlValidate enhanced dialog and overhauled alerts
......@@ -138,7 +138,9 @@ class OnArray {
*/
public static function htmlentitiesOnArray(array $arr) {
foreach ($arr as $key => $value) {
$arr[$key] = htmlentities($arr[$key], ENT_QUOTES);
// Error message stays the same
if ($key !== EXCEPTION_MESSAGE) $arr[$key] = htmlentities($arr[$key], ENT_QUOTES);
}
return $arr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment