]> granicus.if.org Git - php/commitdiff
This check actually doesn't make a whole lot of sense. We need
authorRasmus Lerdorf <rasmus@php.net>
Sat, 28 Aug 1999 23:30:37 +0000 (23:30 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 28 Aug 1999 23:30:37 +0000 (23:30 +0000)
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.

mod_php4.c

index b854f78243e179da7be88f60aba3386cd0f096e5..bba5776a2284c818f00ba0ec92639d8190055233 100644 (file)
@@ -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, ':');