diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-05-18 23:34:54 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-05-18 23:34:54 +0000 |
commit | f45c97f663ddc545508fe694614835c4d812e61c (patch) | |
tree | 956a3ccb4a3a579fb3720871524ff25dfcef1e94 /admin/configuration.php | |
parent | e0bd45f7e35cf813617aeb483a8bfb4cda01e058 (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
Diffstat (limited to 'admin/configuration.php')
-rw-r--r-- | admin/configuration.php | 4 |
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'], )); |