escape html in error message
parent
a74caf18d2
commit
7da21d6d2c
2
add.php
2
add.php
|
@ -39,7 +39,7 @@ if (!empty($_REQUEST['do']))
|
||||||
$sfile = new SimplePie_File($opml);
|
$sfile = new SimplePie_File($opml);
|
||||||
if(!$sfile->success)
|
if(!$sfile->success)
|
||||||
{
|
{
|
||||||
echo "Cannot open $opml<br>";
|
echo "Cannot open ".htmlspecialchars($opml)."<br>";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$content = $sfile->body;
|
$content = $sfile->body;
|
||||||
|
|
Loading…
Reference in New Issue