diff options
| author | Andrei Zmievski <andrei@php.net> | 2002-12-21 20:12:08 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 2002-12-21 20:12:08 +0000 |
| commit | 2feb1cf6d7f11130edae2ff47e58f0a6f3970881 (patch) | |
| tree | ced263437738ad4e4edb2fe282c00d4797171df7 /sapi/apache/mod_php4.c | |
| parent | da498edd5ef345425f1d561e80d675ed0667974b (diff) | |
| download | php-git-2feb1cf6d7f11130edae2ff47e58f0a6f3970881.tar.gz | |
MFB.
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 ad7a1697bc..d5333dec8e 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -448,7 +448,7 @@ static void init_request_info(TSRMLS_D) authorization = table_get(r->headers_in, "Authorization"); } if (authorization - && !auth_type(r) + && (!PG(safe_mode) || (PG(safe_mode) && !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, ':'); |
