diff options
author | foobar <sniper@php.net> | 2002-06-13 22:13:57 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-06-13 22:13:57 +0000 |
commit | f9e492d00b9cdf730eab2834bcd00d7c41559a68 (patch) | |
tree | 154bc0c32592fca371505f08ff733e0957c1bd39 /sapi/apache/mod_php4.c | |
parent | 6189dac44559b0066cc0c793ab05678fec2a36f0 (diff) | |
download | php-git-f9e492d00b9cdf730eab2834bcd00d7c41559a68.tar.gz |
@- Fixed bug with Apache which let PHP_AUTH_* variables to be set when
@ external basic auth mechanism was used. (Jani)
Fixes bugs: #16653, #14534, #14370
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r-- | sapi/apache/mod_php4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index e3afd228b4..690a7c3c8d 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -403,7 +403,7 @@ static void init_request_info(TSRMLS_D) authorization = table_get(r->headers_in, "Authorization"); } if (authorization -/* && !auth_type(r) */ + && !auth_type(r) && !strcasecmp(getword(r->pool, &authorization, ' '), "Basic")) { tmp = uudecode(r->pool, authorization); SG(request_info).auth_user = getword_nulls_nc(r->pool, &tmp, ':'); |