escape html in error message

master
Vitaliy Filippov 2014-12-09 16:12:43 +03:00
parent a74caf18d2
commit 7da21d6d2c
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if (!empty($_REQUEST['do']))
$sfile = new SimplePie_File($opml);
if(!$sfile->success)
{
echo "Cannot open $opml<br>";
echo "Cannot open ".htmlspecialchars($opml)."<br>";
return false;
}
$content = $sfile->body;