fix escaping of current filename, fixes #1316

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-05 08:12:53 +01:00
parent 29ae767c17
commit 188baaf180

View File

@@ -61,7 +61,7 @@ unset($_);
unset($value);
unset($key);
$filename = basename($_SERVER['PHP_SELF']);
$filename = htmlentities(basename($_SERVER['PHP_SELF']));
// define default theme for configurehint, etc.
$_deftheme = 'Sparkle';