Fixed Cross Site Scripting Issue in userchange.php

Debugcode for handling invalid ViewID's left a XSS opportunity open.
This commit is contained in:
Andre Lorbach 2013-01-09 11:34:20 +01:00
parent e06d3ddc76
commit 2356e10efe

View File

@ -80,7 +80,7 @@ if ( isset($_GET['op']) )
else
{
// DEBUG
echo "DEBUG: " . $_SESSION['currentSourceID'] . " - $newViewID";
echo "DEBUG: " . $_SESSION['currentSourceID'] . " - " . htmlspecialchars($newViewID);
exit;
}
}