Moving to smarty - escaping in webftp, refs #819

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-23 11:09:44 +02:00
parent 7cf0fa7284
commit 44a53492e6
2 changed files with 2 additions and 2 deletions

View File

@@ -710,7 +710,7 @@ elseif ((!empty($_POST['loginname']) && !empty($_POST['password'])) || (!empty($
{
fclose($fp);
// temporäre Datei lesen und ausgeben
$myFileContent = htmlentities(implode("",file($downloadDir . killslashes(html_entity_decode($file))."_".$s)));
$myFileContent = implode("",file($downloadDir . killslashes(html_entity_decode($file))."_".$s));
}
$smarty->assign('myFileContent', $myFileContent);
unlink($downloadDir . killslashes(html_entity_decode($file))."_".$s);