mirror of
https://github.com/sruupl/batflat.git
synced 2026-02-25 20:40:44 +01:00
Merge pull request #54 from timstoffel/master
Reflective XSS in searchbox module
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
public function getSearch($phrase, $index = 1)
|
||||
{
|
||||
$phrase = urldecode($phrase);
|
||||
$phrase = strip_tags ($phrase);
|
||||
$phrase = htmlentities ($phrase);
|
||||
$searchTemplate = 'search.html';
|
||||
$phraseMinLength = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user