mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
@- 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
This commit is contained in:
parent
6189dac445
commit
f9e492d00b
1 changed files with 1 additions and 1 deletions
|
@ -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, ':');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue