From: Andreas Gohr Date: Thu, 16 Oct 2014 13:44:27 +0000 (+0200) Subject: fixed login problem with chrome 37+ X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e064dea1ffb1edfb3284fc40b8c24010808357ff;p=contagged fixed login problem with chrome 37+ --- diff --git a/VERSION b/VERSION index a3df0a6..6f4eebd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.0 +0.8.1 diff --git a/inc/functions.php b/inc/functions.php index 2032a03..cb75190 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -113,11 +113,9 @@ function do_ldap_bind($user,$pass,$dn=""){ function auth_browseruid(){ $uid = ''; if (empty($_SERVER['HTTP_USER_AGENT'])) { $_SERVER['HTTP_USER_AGENT']='USER_AGENT'; } - if (empty($_SERVER['HTTP_ACCEPT_ENCODING'])) { $_SERVER['HTTP_ACCEPT_ENCODING']='ACCEPT_ENCODING'; } if (empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { $_SERVER['HTTP_ACCEPT_LANGUAGE']='ACCEPT_LANGUAGE'; } if (empty($_SERVER['HTTP_ACCEPT_CHARSET'])) { $_SERVER['HTTP_ACCEPT_CHARSET']='ACCEPT_CHARSET'; } $uid .= $_SERVER['HTTP_USER_AGENT']; - $uid .= $_SERVER['HTTP_ACCEPT_ENCODING']; $uid .= $_SERVER['HTTP_ACCEPT_LANGUAGE']; $uid .= $_SERVER['HTTP_ACCEPT_CHARSET']; $uid .= substr($_SERVER['REMOTE_ADDR'],0,strpos($_SERVER['REMOTE_ADDR'],'.'));