prevent xss in webfinger
This commit is contained in:
parent
cde60dba0f
commit
5155f589fd
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ $WEBROOT=substr($SUBURI,0,-34);
|
|||
*/
|
||||
|
||||
|
||||
$request = urldecode($_GET['q']);
|
||||
$request = strip_tags(urldecode($_GET['q']));
|
||||
if($_GET['q']) {
|
||||
$reqParts = explode('@', $request);
|
||||
$userName = $reqParts[0];
|
||||
|
|
Loading…
Reference in a new issue