Browse Source

This check actually doesn't make a whole lot of sense. We need

something here, but if a mod_auth_* module declines, the type is
still set.  So, we need a check to see if there have been a
non-declined auth hook previously for this request.  I will ponder
a good approach to this.
experimetnal/RETURN_REF_PATCH
Rasmus Lerdorf 27 years ago
parent
commit
7c08c88a87
  1. 2
      mod_php4.c

2
mod_php4.c

@ -214,7 +214,7 @@ static void init_request_info(SLS_D)
authorization = table_get(r->headers_in, "Authorization");
}
if (authorization
&& !auth_type(r)
/* && !auth_type(r) */
&& !strcmp(getword(r->pool, &authorization, ' '), "Basic")) {
tmp = uudecode(r->pool, authorization);
SG(request_info).auth_user = getword_nulls_nc(r->pool, &tmp, ':');

Loading…
Cancel
Save