diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-11-04 20:19:52 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-11-04 20:19:52 +0100 |
commit | 383dc9895eac5f1b8ee2a938bfff4a1482228817 (patch) | |
tree | a6af696a4ecd6259628f2885e23eadb637603b30 /inc/auth.php | |
parent | ecd445c000e4e54bf7228890848222312cffd3e3 (diff) | |
parent | 2005b6b650f2523cb58a005961a55a6f099c70c3 (diff) | |
download | rpg-383dc9895eac5f1b8ee2a938bfff4a1482228817.tar.gz rpg-383dc9895eac5f1b8ee2a938bfff4a1482228817.tar.bz2 |
Merge branch 'master' into future
* master: (45 commits)
TarLib code cleanup
TarLib: fixed appending in non-dynamic mode
fixed third method of adding files in TarLib
fix lone zero block in TarLib created archives
fix use of constructor in TarLib
Slovak language update
Korean language update
Latvian language update
removed redundant variables in tpl_include_page() (because of 3ff8773b)
added cut off points for mobile devices as parameters to style.ini
Corrected typo: ruke -> rule
Persian language update
Spanish language update
russian language update
Kazach language update
correctly check hash parameter in media dispatcher FS#2648
avoid broken browser_uid on IE
Removed acronyms for "Perl" and "PERL" as Perl is not an acronym. See http://learn.perl.org/faq/perlfaq1.html#Whats-the-difference-between-perl-and-Perl-
Made striplangs.php executable
release preparations
...
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 3fe465cbb..76356c37f 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -300,7 +300,7 @@ function auth_createToken() { * * This is neither unique nor unfakable - still it adds some * security. Using the first part of the IP makes sure - * proxy farms like AOLs are stil okay. + * proxy farms like AOLs are still okay. * * @author Andreas Gohr <andi@splitbrain.org> * @@ -314,6 +314,7 @@ function auth_browseruid() { $uid .= $_SERVER['HTTP_ACCEPT_LANGUAGE']; $uid .= $_SERVER['HTTP_ACCEPT_CHARSET']; $uid .= substr($ip, 0, strpos($ip, '.')); + $uid = strtolower($uid); return md5($uid); } |