cvs: php-src /sapi/isapi php5isapi.c
| From: | Jani Taskinen | Date: | Thu, 31 Jul 2008 00:48:32 +0000 |
| Subject: | cvs: php-src /sapi/isapi php5isapi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51795@lists.php.net to get a copy of this message | ||
jani Thu Jul 31 00:48:32 2008 UTC
Modified files:
/php-src/sapi/isapi php5isapi.c
Log:
- Fixed bug #45568 (ISAPI does not property clear auth_digest in header).
http://cvs.php.net/viewvc.cgi/php-src/sapi/isapi/php5isapi.c?r1=1.13&r2=1.14&diff_format=u
Index: php-src/sapi/isapi/php5isapi.c
diff -u php-src/sapi/isapi/php5isapi.c:1.13 php-src/sapi/isapi/php5isapi.c:1.14
--- php-src/sapi/isapi/php5isapi.c:1.13 Wed Mar 19 16:37:49 2008
+++ php-src/sapi/isapi/php5isapi.c Thu Jul 31 00:48:32 2008
@@ -16,7 +16,7 @@
| Ben Mansell <ben@zeus.com> (Zeus Support) |
+----------------------------------------------------------------------+
*/
-/* $Id: php5isapi.c,v 1.13 2008/03/19 16:37:49 rasmus Exp $ */
+/* $Id: php5isapi.c,v 1.14 2008/07/31 00:48:32 jani Exp $ */
#include "php.h"
#include <httpext.h>
@@ -712,6 +712,7 @@
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 @@
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