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

WordPress Trac noreply at wordpress.org
Mon Oct 14 10:35:58 UTC 2019


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

 * keywords:  has-patch => has-patch commit


Comment:

 Replying to [comment:23 rconde]:
 > Download XAMPP for windows, clean install of xampp, then clean install
 of WP. Nothing customized. That's all.

 Thanks! I was able to reproduce with WordPress installed in a root
 directory (previously was testing with a subdirectory).

 [attachment:"47890.2.diff"] includes a test case that fails before and
 passes after the patch. Should be good to go.

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


More information about the wp-trac mailing list