never allow {{ }} in user-input
This commit is contained in:
@@ -101,6 +101,9 @@ class Request
|
||||
unset($value);
|
||||
|
||||
$antiXss = new AntiXSS();
|
||||
$antiXss->addNeverAllowedRegex([
|
||||
'{{(.*)}}' => ''
|
||||
]);
|
||||
|
||||
// check $_GET
|
||||
PhpHelper::cleanGlobal($_GET, $antiXss);
|
||||
|
||||
Reference in New Issue
Block a user