diff options
author | U-H-PC\H <kellanved@phpbb.com> | 2010-03-28 14:17:42 +0200 |
---|---|---|
committer | U-H-PC\H <kellanved@phpbb.com> | 2010-03-28 14:17:42 +0200 |
commit | 6cfb4c82dd4f81cade9b75fb730ebe8c2343b709 (patch) | |
tree | 52a454d58342b489315b17b3fa8c6cff01edceeb /phpBB/includes/functions.php | |
parent | d79cff235c761d10c148eb1434ce72289f4327a0 (diff) | |
download | forums-6cfb4c82dd4f81cade9b75fb730ebe8c2343b709.tar forums-6cfb4c82dd4f81cade9b75fb730ebe8c2343b709.tar.gz forums-6cfb4c82dd4f81cade9b75fb730ebe8c2343b709.tar.bz2 forums-6cfb4c82dd4f81cade9b75fb730ebe8c2343b709.tar.xz forums-6cfb4c82dd4f81cade9b75fb730ebe8c2343b709.zip |
[bug/58465] The redirect hidden field is now XHTML conform
The result of build_url was falsely un-entitized.
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 5878c1977d..4f52c7c2ce 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4257,7 +4257,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'S_TOPIC_ID' => $topic_id, 'S_LOGIN_ACTION' => ((!defined('ADMIN_START')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login') : append_sid("index.$phpEx", false, true, $user->session_id)), - 'S_LOGIN_REDIRECT' => build_hidden_fields(array('redirect' => str_replace('&', '&', build_url()))), + 'S_LOGIN_REDIRECT' => build_hidden_fields(array('redirect' => build_url())), 'S_ENABLE_FEEDS' => ($config['feed_enable']) ? true : false, 'S_ENABLE_FEEDS_OVERALL' => ($config['feed_overall']) ? true : false, |