aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/auth/auth_db.php2
-rw-r--r--phpBB/web.config2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth/auth_db.php b/phpBB/includes/auth/auth_db.php
index fe3ea30b2a..018d5cce70 100644
--- a/phpBB/includes/auth/auth_db.php
+++ b/phpBB/includes/auth/auth_db.php
@@ -90,7 +90,7 @@ function login_db($username, $password, $ip = '', $browser = '', $forwarded_for
$attempt_data = array(
'attempt_ip' => $ip,
- 'attempt_browser' => $browser,
+ 'attempt_browser' => trim(substr($browser, 0, 149)),
'attempt_forwarded_for' => $forwarded_for,
'attempt_time' => time(),
'user_id' => ($row) ? (int) $row['user_id'] : 0,
diff --git a/phpBB/web.config b/phpBB/web.config
index 128fe3c98f..a73c328626 100644
--- a/phpBB/web.config
+++ b/phpBB/web.config
@@ -6,7 +6,7 @@
<hiddenSegments>
<add segment="cache" />
<add segment="files" />
- <add segment="store" />­
+ <add segment="store" />
<add segment="config.php" />
<add segment="common.php" />
</hiddenSegments>