Search/Forms (#383)

* do not prefil search form with unchecked user input
 * thx @Endalaust
This commit is contained in:
Sarjuuk
2023-04-13 15:18:23 +02:00
parent 9f1cbc0233
commit 2c142c506c
5 changed files with 6 additions and 6 deletions

View File

@@ -786,7 +786,7 @@ abstract class Util
return $data;
}
return htmlspecialchars($data, ENT_QUOTES, 'utf-8');
return htmlspecialchars($data, ENT_QUOTES | ENT_DISALLOWED | ENT_HTML5, 'utf-8');
}
public static function jsEscape($data)