aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/configuration.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 26be50b8a..01eb474e8 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -217,8 +217,8 @@ switch ($page['section'])
array(
'GALLERY_LOCKED_YES'=>$lock_yes,
'GALLERY_LOCKED_NO'=>$lock_no,
- 'CONF_GALLERY_TITLE' => $conf['gallery_title'],
- 'CONF_PAGE_BANNER' => $conf['page_banner'],
+ 'CONF_GALLERY_TITLE' => htmlspecialchars($conf['gallery_title']),
+ 'CONF_PAGE_BANNER' => htmlspecialchars($conf['page_banner']),
'CONF_GALLERY_URL' => $conf['gallery_url'],
));