cvs: /php4 mod_php4.c

From: Date: Sat, 28 Aug 1999 23:30:38 +0000
Subject: cvs: /php4 mod_php4.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-3823@lists.php.net to get a copy of this message
rasmus Sat Aug 28 19:30:38 1999 EDT Modified files: /php4 mod_php4.c Log: 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. Index: php4/mod_php4.c diff -u php4/mod_php4.c:1.17 php4/mod_php4.c:1.18 --- php4/mod_php4.c:1.17 Mon Aug 2 15:16:34 1999 +++ php4/mod_php4.c Sat Aug 28 19:30:37 1999 @@ -17,7 +17,7 @@ | PHP 4.0 patches by Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: mod_php4.c,v 1.17 1999/08/02 19:16:34 zeev Exp $ */ +/* $Id: mod_php4.c,v 1.18 1999/08/28 23:30:37 rasmus Exp $ */ #include "httpd.h" #include "http_config.h" @@ -214,7 +214,7 @@ 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, ':');

« previous php.version4 (#3823) next »