summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-23 02:56:25 +0000
committerXinchen Hui <laruence@php.net>2011-09-23 02:56:25 +0000
commitea74b9c2129f3bcbac2154d9a9ed01e26ebbdbb3 (patch)
treef5b1874b97c74f3b19542b31c4647dbb7c7e4569 /main/SAPI.c
parenta52d3efe0863ac452b8a0d7dd0da33f786251489 (diff)
downloadphp-git-ea74b9c2129f3bcbac2154d9a9ed01e26ebbdbb3.tar.gz
Fixed bug #55758 (Digest Authenticate missed in 5.4)
the block I am removing should be removed along with the PG(saf_mod) condition. since it is inside the PG(saf_mod) condition block.
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 2bcf19dd13..6875975605 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -798,11 +798,6 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC)
}
} else if (!STRCASECMP(header_line, "WWW-Authenticate")) { /* HTTP Authentication */
sapi_update_response_code(401 TSRMLS_CC); /* authentication-required */
-
- myuid = php_getuid(TSRMLS_C);
- efree(header_line);
-
- sapi_header.header_len = spprintf(&sapi_header.header, 0, "WWW-Authenticate: Basic realm=\"%ld\"", myuid);
}
if (sapi_header.header==header_line) {
*colon_offset = ':';