fix potential xss woops
This commit is contained in:
parent
1a00bf8069
commit
430c0a2f0f
2
web.php
2
web.php
|
@ -89,7 +89,7 @@ if($results["spelling"]["type"] != "no_correction"){
|
||||||
'&' .
|
'&' .
|
||||||
$frontend->buildquery($get, true) .
|
$frontend->buildquery($get, true) .
|
||||||
'&spellcheck=no">' .
|
'&spellcheck=no">' .
|
||||||
$results["spelling"]["correction"] .
|
htmlspecialchars($results["spelling"]["correction"]) .
|
||||||
'</a>?' .
|
'</a>?' .
|
||||||
'</div>';
|
'</div>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue