Index: httpauth.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/httpauth/httpauth.module,v retrieving revision 1.2.2.6 diff -r1.2.2.6 httpauth.module 107d106 < // Have credentials been provided? 109d107 < global $user; 111a110,120 > } > else if (isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION'])) { > list($name, $pass) = httpauth_parse($_SERVER['REDIRECT_HTTP_AUTHORIZATION']); > } > else if (isset($_SERVER['HTTP_AUTHORIZATION'])) { > list($name, $pass) = httpauth_parse($_SERVER['HTTP_AUTHORIZATION']); > } > > // Have credentials been provided? > if (isset($name) && isset($pass)) { > global $user; 200a210,219 > > /** > * Parse the HTTP authorization header. > */ > function httpauth_parse($header) { > list($type, $credentials) = split(' ', $header); > if ($type == 'Basic') { > return explode(':', base64_decode($credentials)); > } > }