[wp-trac] [WordPress Trac] #47980: New wp_validate_redirect() removes domain in some circumstances.
WordPress Trac
noreply at wordpress.org
Mon Oct 14 10:50:53 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 | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46472" 46472]:
{{{
#!CommitTicketReference repository="" revision="46472"
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.
Fixes #47980.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47980#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list