diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 4 | ||||
-rw-r--r-- | phpBB/includes/session.php | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 50b1d1f52d..155707a97f 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -281,11 +281,9 @@ p a { <li>[Fix] Cached stylesheet now supporting gzip compression</li> <li>[Fix] Added link to inbox for deleted PMs (Bug #13813)</li> <li>[Fix] Re-syncing the board stats also refreshes the newest user (Bug #13831)</li> - - - <li>[Feature] Ability to externally set $phpbb_root_path if wrapping phpBB3 by defining constant PHPBB_ROOT_PATH</li> <li>[Fix] Implemented correct left/right floating within ACP in regard to RTL languages (Bug #13777)</li> + <li>[Fix] Fixing session problems when using MySQL strict mode in conjunction with very long browser agent string (Bug #13827)</li> </ul> diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index c9e12b77e2..a100723972 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -567,7 +567,7 @@ class session 'session_start' => (int) $this->time_now, 'session_last_visit' => (int) $this->data['session_last_visit'], 'session_time' => (int) $this->time_now, - 'session_browser' => (string) $this->browser, + 'session_browser' => (string) substr($this->browser, 0, 149), 'session_forwarded_for' => (string) $this->forwarded_for, 'session_ip' => (string) $this->ip, 'session_autologin' => ($session_autologin) ? 1 : 0, |