mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10047] Do not put session id in URL on posting.php when cookies are on.
This commit is contained in:
commit
c025d6079b
1 changed files with 2 additions and 2 deletions
|
@ -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" : '';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue