diff options
author | Jani Taskinen <jani@php.net> | 2008-07-31 00:49:16 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2008-07-31 00:49:16 +0000 |
commit | 874a6097232e7d545637c9b5b1e2e2ec429dfb68 (patch) | |
tree | 17cb129f50e4e9647e33da31ec35cb2a3a962bad /sapi | |
parent | 461e12bb471beda3bebfa744d38f1ad752a405b0 (diff) | |
download | php-git-874a6097232e7d545637c9b5b1e2e2ec429dfb68.tar.gz |
MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header).
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/isapi/php5isapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/isapi/php5isapi.c b/sapi/isapi/php5isapi.c index e5f536deaa..1f5325f7e9 100644 --- a/sapi/isapi/php5isapi.c +++ b/sapi/isapi/php5isapi.c @@ -711,6 +711,7 @@ DWORD WINAPI HttpFilterProc(PHTTP_FILTER_CONTEXT pfc, DWORD notificationType, LP case SF_NOTIFY_PREPROC_HEADERS: SG(request_info).auth_user = NULL; SG(request_info).auth_password = NULL; + SG(request_info).auth_digest = NULL; break; case SF_NOTIFY_AUTHENTICATION: { char *auth_user = ((HTTP_FILTER_AUTHENT *) pvNotification)->pszUser; @@ -745,7 +746,7 @@ static void init_request_info(LPEXTENSION_CONTROL_BLOCK lpECB TSRMLS_DC) SG(request_info).content_length = lpECB->cbTotalBytes; SG(sapi_headers).http_response_code = 200; /* I think dwHttpStatusCode is invalid at this stage -RL */ if (!bFilterLoaded) { /* we don't have valid ISAPI Filter information */ - SG(request_info).auth_user = SG(request_info).auth_password = NULL; + SG(request_info).auth_user = SG(request_info).auth_password = SG(request_info).auth_digest = NULL; } #ifdef WITH_ZEUS |