Nuke safe_mode from sapi/*

# only main/ remains at this point, this is the next step
This commit is contained in:
Ilia Alshanetsky 2006-03-07 14:43:16 +00:00
parent d88e3ee93d
commit 87c4a01b87
6 changed files with 17 additions and 35 deletions

View file

@ -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);