mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
This commit is contained in:
parent
d88e3ee93d
commit
87c4a01b87
6 changed files with 17 additions and 35 deletions
|
@ -514,7 +514,7 @@ static void init_request_info(TSRMLS_D)
|
|||
SG(request_info).auth_password = NULL;
|
||||
SG(request_info).auth_digest = NULL;
|
||||
|
||||
if (authorization && (!PG(safe_mode) || (PG(safe_mode) && !auth_type(r)))) {
|
||||
if (authorization) {
|
||||
char *p = getword(r->pool, &authorization, ' ');
|
||||
if (!strcasecmp(p, "Basic")) {
|
||||
tmp = uudecode(r->pool, authorization);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue