[wp-trac] [WordPress Trac] #47980: New wp_validate_redirect() removes domain in some circumstances.

WordPress Trac noreply at wordpress.org
Mon Oct 14 11:03:46 UTC 2019


#47980: New wp_validate_redirect() removes domain in some circumstances.
------------------------------------------+-----------------------------
 Reporter:  rconde                        |       Owner:  SergeyBiryukov
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  5.2.4
Component:  General                       |     Version:  5.2.3
 Severity:  critical                      |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46473" 46473]:
 {{{
 #!CommitTicketReference repository="" revision="46473"
 Formatting: In `wp_validate_redirect()`, normalize the path when
 validating the location for relative URLs, to account for Windows paths.

 Props peterwilsoncc, rconde, jmmathc, mat-lipe, Sixes, justinahinon,
 cmagrin, daxelrod, SergeyBiryukov.
 Merges [46472] to the 5.2 branch.
 Fixes #47980.
 }}}

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


More information about the wp-trac mailing list