prevent xss in webfinger

This commit is contained in:
Michiel de Jong 2012-05-07 09:26:54 +02:00
parent cde60dba0f
commit 5155f589fd
1 changed files with 1 additions and 1 deletions

View File

@ -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];