summaryrefslogtreecommitdiff
path: root/sapi/isapi/php5isapi.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-07-31 00:48:48 +0000
committerJani Taskinen <jani@php.net>2008-07-31 00:48:48 +0000
commita31dc18b39b47ba8a63885ee71c935f4f7a2c022 (patch)
tree913f2c4f97dd8ddc9fb37e22a4e5d740150f0b65 /sapi/isapi/php5isapi.c
parent4b8197cf6eb941182a1089e7ec1227024c74a183 (diff)
downloadphp-git-a31dc18b39b47ba8a63885ee71c935f4f7a2c022.tar.gz
MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header).
Diffstat (limited to 'sapi/isapi/php5isapi.c')
-rw-r--r--sapi/isapi/php5isapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/isapi/php5isapi.c b/sapi/isapi/php5isapi.c
index 967424ada0..77fd541f8f 100644
--- a/sapi/isapi/php5isapi.c
+++ b/sapi/isapi/php5isapi.c
@@ -712,6 +712,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;
@@ -746,7 +747,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