aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-15 19:00:43 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-15 19:00:43 +0000
commit57e402b15de0bc544280c802d3036b1708fcbb79 (patch)
treec0af4e3724409e3e08f1ffbc61da6e011f179346 /phpBB/includes/functions.php
parent4cad875b855b14cfe7846ac3b5dc377a171400d4 (diff)
downloadforums-57e402b15de0bc544280c802d3036b1708fcbb79.tar
forums-57e402b15de0bc544280c802d3036b1708fcbb79.tar.gz
forums-57e402b15de0bc544280c802d3036b1708fcbb79.tar.bz2
forums-57e402b15de0bc544280c802d3036b1708fcbb79.tar.xz
forums-57e402b15de0bc544280c802d3036b1708fcbb79.zip
#9836
git-svn-id: file:///svn/phpbb/trunk@7359 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index b36b902991..c15c3f971d 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2196,7 +2196,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa
$redirect .= ($user->page['page_dir']) ? $user->page['page_dir'] . '/' : '';
}
- $redirect .= $user->page['page_name'] . (($user->page['query_string']) ? '?' . $user->page['query_string'] : '');
+ $redirect .= $user->page['page_name'] . (($user->page['query_stringquery_string']) ? '?' . htmlspecialchars($user->page['query_string']) : '');
}
$s_hidden_fields = build_hidden_fields(array('redirect' => $redirect, 'sid' => $user->session_id));