mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Search/Forms (#383)
* do not prefil search form with unchecked user input * thx @Endalaust
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user