From a86c8e4553362550637b8aaf67d3a6c09aaacde0 Mon Sep 17 00:00:00 2001 From: D9ping Date: Tue, 31 Jul 2018 23:51:15 +0200 Subject: [PATCH] Fix for #211. Signed-off-by: D9ping --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index bd6f31cb..767d30eb 100755 --- a/index.php +++ b/index.php @@ -51,10 +51,10 @@ if(!isset($_COOKIE['theme'])) { } else { $theme = $_COOKIE['theme']; } -$theme_url = 'dist/css/' . $theme; -?> - +$theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES); + +?>