Skip to content

Commit 6407b34

Browse files
author
Ilia Alshanetsky
committed
MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x)
1 parent edca4a8 commit 6407b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1924,7 +1924,7 @@ PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC)
19241924
}
19251925

19261926
if (ret == -1 && auth && auth[0] != '\0' && strncmp(auth, "Digest ", 7) == 0) {
1927-
SG(request_info).auth_digest = estrdup(auth);
1927+
SG(request_info).auth_digest = estrdup(auth + 7);
19281928
ret = 0;
19291929
}
19301930

0 commit comments

Comments
 (0)