From: Rasmus Lerdorf Date: Sat, 28 Aug 1999 23:30:37 +0000 (+0000) Subject: This check actually doesn't make a whole lot of sense. We need X-Git-Tag: PRE_DELAYED_ARRAY_FETCH_PATCH~278 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c08c88a8749f730e9d45aa40893b5256e4f3cbd;p=php 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. --- diff --git a/mod_php4.c b/mod_php4.c index b854f78243..bba5776a22 100644 --- a/mod_php4.c +++ b/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, ':');