diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-02-19 14:29:21 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-02-19 14:30:39 +0100 |
commit | aba31aeff9a00ffda1dc29d580ccd96894985d79 (patch) | |
tree | dc310a14eafb6a5259113ebcb2de11ee459d9085 | |
parent | 676daf3076336429bdc824c46b9603bd09f9c858 (diff) | |
download | forums-aba31aeff9a00ffda1dc29d580ccd96894985d79.tar forums-aba31aeff9a00ffda1dc29d580ccd96894985d79.tar.gz forums-aba31aeff9a00ffda1dc29d580ccd96894985d79.tar.bz2 forums-aba31aeff9a00ffda1dc29d580ccd96894985d79.tar.xz forums-aba31aeff9a00ffda1dc29d580ccd96894985d79.zip |
[ticket/10047] Do not put session id in URL on posting.php when cookies are on.
PHPBB3-10047
-rw-r--r-- | phpBB/posting.php | 4 |
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&f=$forum_id", true, $user->session_id); +// Page title & action URL +$s_action = append_sid("{$phpbb_root_path}posting.$phpEx", "mode=$mode&f=$forum_id"); $s_action .= ($topic_id) ? "&t=$topic_id" : ''; $s_action .= ($post_id) ? "&p=$post_id" : ''; |