Browse Source

MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x)

migration/RELEASE_1_0_0
Ilia Alshanetsky 21 years ago
parent
commit
6407b345b9
  1. 2
      main/main.c

2
main/main.c

@ -1924,7 +1924,7 @@ PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC)
}
if (ret == -1 && auth && auth[0] != '\0' && strncmp(auth, "Digest ", 7) == 0) {
SG(request_info).auth_digest = estrdup(auth);
SG(request_info).auth_digest = estrdup(auth + 7);
ret = 0;
}

Loading…
Cancel
Save