aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-05-18 23:34:54 +0000
committerrvelices <rv-github@modusoptimus.com>2007-05-18 23:34:54 +0000
commitf45c97f663ddc545508fe694614835c4d812e61c (patch)
tree956a3ccb4a3a579fb3720871524ff25dfcef1e94
parente0bd45f7e35cf813617aeb483a8bfb4cda01e058 (diff)
- invalid html in page banner on admin page might interfere with actual page
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2020 68402e56-0260-453c-a942-63ccdbb3a9ee
-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'],
));