[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 22:48:04 UTC 2019


#44317: wp_safe_redirect() and wp_redirect() shouldn't allow non-3xx status codes
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch needs-      |     Focuses:
  testing has-unit-tests                         |
-------------------------------------------------+-------------------------

Comment (by jorbin):

 In [changeset:"46645" 46645]:
 {{{
 #!CommitTicketReference repository="" revision="46645"
 Remove Failing Tests added in r46641

 The tests for good redirects send headers that we can't handle in the test
 suite, so let's just remove them.

 Unprops Jorbin.
 Fixes #44317.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44317#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list