diff options
| -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 5463b3ade6..eb21b675c7 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -395,7 +395,7 @@ static void init_request_info(SLS_D) } if (authorization /* && !auth_type(r) */ - && !strcmp(getword(r->pool, &authorization, ' '), "Basic")) { + && !strcasecmp(getword(r->pool, &authorization, ' '), "Basic")) { tmp = uudecode(r->pool, authorization); SG(request_info).auth_user = getword_nulls_nc(r->pool, &tmp, ':'); if (SG(request_info).auth_user) { |
