Fix 2 cross site scripting problems.

This commit is contained in:
Marcus Meissner
2004-12-19 17:54:09 +00:00
committed by WineHQ
parent 8d8c98bc46
commit ddbd9ed0cc
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ if(mysql_num_rows($result) == 0)
{
// do something
echo html_frame_start("","98%");
echo "No matches found for ".$_REQUEST['q']."\n";
echo "No matches found for ". urlencode($_REQUEST['q']) . "\n";
echo html_frame_end();
}
else