]> granicus.if.org Git - php/commit
Keep 308-399 HTTP response codes when header('Location:') is called.
authorAdam Harvey <aharvey@php.net>
Fri, 13 Jun 2014 00:35:05 +0000 (17:35 -0700)
committerAdam Harvey <aharvey@php.net>
Fri, 13 Jun 2014 00:35:05 +0000 (17:35 -0700)
commit1b9cbab9a770d084ed35ff9ae101fff2770c8f51
treec8a36a6dddfcc09d80f60eb953f79027eb595a54
parent5f2a30e11197fd1bc2394ee23cf80c7ea2ea9660
Keep 308-399 HTTP response codes when header('Location:') is called.

Fixes bug #67428 (header('Location: foo') will override a 308-399 response
code).
16 files changed:
NEWS
ext/standard/tests/general_functions/header_redirection_001.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_002.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_003.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_004.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_005.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_006.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_007.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_008.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_009.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_010.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_011.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_012.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_013.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/header_redirection_014.phpt [new file with mode: 0644]
main/SAPI.c