diff options
author | Xinchen Hui <laruence@php.net> | 2014-06-18 23:37:47 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-06-18 23:37:47 +0800 |
commit | 17f35c9a295a55b8af09a5c8ba7dbc8894d3861b (patch) | |
tree | cbd1f091c85ea6bbd361196244d4aa7bc3f04ad4 /main/SAPI.c | |
parent | b38f6f3de96990163d36c82c248fb29e6f0815c4 (diff) | |
parent | b108267f2c5c09bd153cfb1d4e580d5fc9c52d51 (diff) | |
download | php-git-17f35c9a295a55b8af09a5c8ba7dbc8894d3861b.tar.gz |
Merge branch 'phpng' of git.php.net:php-src into phpng
Diffstat (limited to 'main/SAPI.c')
-rw-r--r-- | main/SAPI.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 49bd6ffbfc..e587f7aaf7 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -823,7 +823,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC) STR_RELEASE(key); } else if (!STRCASECMP(header_line, "Location")) { if ((SG(sapi_headers).http_response_code < 300 || - SG(sapi_headers).http_response_code > 307) && + SG(sapi_headers).http_response_code > 399) && SG(sapi_headers).http_response_code != 201) { /* Return a Found Redirect if one is not already specified */ if (http_response_code) { /* user specified redirect code */ |