aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-05-18 23:36:55 +0000
committerrvelices <rv-github@modusoptimus.com>2007-05-18 23:36:55 +0000
commit345653a2fb3fadfe7dfd669ff1645262fb5471a2 (patch)
tree40da631e1476008ff1c7e1211d4defc7ac910a62
parent190aaed7be49132a1d4a0987dcb356b1d54034b6 (diff)
merge r2020 from branch 17 to trunk
- invalid html in page banner on admin page might interfere with actual page git-svn-id: http://piwigo.org/svn/trunk@2021 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'],
));