summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorDominik Eckelmann <eckelmann@cosmocode.de>2013-02-20 10:44:25 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-02-24 12:39:01 +0000
commit6b6c1ea036f499414bc1ce630f5feb8af637633b (patch)
tree1fd1146613257fc658b1155cd200c796650e5eca /inc
parent6acc112bae4de62d04c4b4aeea8e0768b7fc4d0e (diff)
downloadrpg-6b6c1ea036f499414bc1ce630f5feb8af637633b.tar.gz
rpg-6b6c1ea036f499414bc1ce630f5feb8af637633b.tar.bz2
fixed auth_browseruid on IE9
IE9 send different HTTP_ACCEPT_LANGUAGE header on ajax request. This causes different results from auth_browseruid. This patch removes the HTTP_ACCEPT_LANGUAGE from the browser id calculation.
Diffstat (limited to 'inc')
-rw-r--r--inc/auth.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 9566a2615..d82b8b5dd 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -311,7 +311,6 @@ function auth_browseruid() {
$uid = '';
$uid .= $_SERVER['HTTP_USER_AGENT'];
$uid .= $_SERVER['HTTP_ACCEPT_ENCODING'];
- $uid .= $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$uid .= $_SERVER['HTTP_ACCEPT_CHARSET'];
$uid .= substr($ip, 0, strpos($ip, '.'));
$uid = strtolower($uid);