aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-02-20 11:40:01 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-20 11:40:01 -0500
commit53a6cd607e36ccd099f3d83431bf8bfee48dc7b3 (patch)
treedc310a14eafb6a5259113ebcb2de11ee459d9085
parent676daf3076336429bdc824c46b9603bd09f9c858 (diff)
parentaba31aeff9a00ffda1dc29d580ccd96894985d79 (diff)
downloadforums-53a6cd607e36ccd099f3d83431bf8bfee48dc7b3.tar
forums-53a6cd607e36ccd099f3d83431bf8bfee48dc7b3.tar.gz
forums-53a6cd607e36ccd099f3d83431bf8bfee48dc7b3.tar.bz2
forums-53a6cd607e36ccd099f3d83431bf8bfee48dc7b3.tar.xz
forums-53a6cd607e36ccd099f3d83431bf8bfee48dc7b3.zip
Merge branch 'ticket/bantu/10047' into develop-olympus
* ticket/bantu/10047: [ticket/10047] Do not put session id in URL on posting.php when cookies are on.
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 7368026136..d05abc6a0e 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1360,8 +1360,8 @@ $lock_post_checked = (isset($post_lock)) ? $post_lock : $post_data['post_edit_lo
$notify_set = ($mode != 'edit' && $config['allow_topic_notify'] && $user->data['is_registered'] && !$post_data['notify_set']) ? $user->data['user_notify'] : $post_data['notify_set'];
$notify_checked = (isset($notify)) ? $notify : (($mode == 'post') ? $user->data['user_notify'] : $notify_set);
-// Page title & action URL, include session_id for security purpose
-$s_action = append_sid("{$phpbb_root_path}posting.$phpEx", "mode=$mode&amp;f=$forum_id", true, $user->session_id);
+// Page title & action URL
+$s_action = append_sid("{$phpbb_root_path}posting.$phpEx", "mode=$mode&amp;f=$forum_id");
$s_action .= ($topic_id) ? "&amp;t=$topic_id" : '';
$s_action .= ($post_id) ? "&amp;p=$post_id" : '';