summaryrefslogtreecommitdiff
path: root/mod_php4.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-08-28 23:30:37 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-08-28 23:30:37 +0000
commit7c08c88a8749f730e9d45aa40893b5256e4f3cbd (patch)
tree93f1c96108e09404df28f6fdd70e163d53e0a730 /mod_php4.c
parenta27ed294dfdf65a08bffc9b41ab10f6c7bcc72ec (diff)
downloadphp-git-7c08c88a8749f730e9d45aa40893b5256e4f3cbd.tar.gz
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.
Diffstat (limited to 'mod_php4.c')
-rw-r--r--mod_php4.c2
1 files changed, 1 insertions, 1 deletions
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, ':');