[wp-trac] [WordPress Trac] #44317: wp_safe_redirect() and wp_redirect() shouldn't allow non-3xx status codes
WordPress Trac
noreply at wordpress.org
Sun Nov 3 20:56:01 UTC 2019
#44317: wp_safe_redirect() and wp_redirect() shouldn't allow non-3xx status codes
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner:
| johnbillion
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
testing has-unit-tests |
-------------------------------------------------+-------------------------
Changes (by spenserhale):
* keywords: good-first-bug has-patch needs-testing => good-first-bug has-
patch needs-testing has-unit-tests
Comment:
Hey @johnbillion, I added unit tests to test common usages and edge cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44317#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list