summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorDominik Eckelmann <eckelmann@cosmocode.de>2013-02-20 10:44:25 +0100
committerDominik Eckelmann <eckelmann@cosmocode.de>2013-02-20 10:44:25 +0100
commita4ce95c84dca904abb57d30efa2a9d5d68eeda1b (patch)
tree14cf73b7aef86750b5aaa0d917d15eaadc1d1cab /inc/auth.php
parent26ed704a1d2b2e40b06498df3fe2a747b751de28 (diff)
downloadrpg-a4ce95c84dca904abb57d30efa2a9d5d68eeda1b.tar.gz
rpg-a4ce95c84dca904abb57d30efa2a9d5d68eeda1b.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/auth.php')
-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);