prevent xss in webfinger
This commit is contained in:
parent
cde60dba0f
commit
5155f589fd
|
@ -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 New Issue