[wp-trac] [WordPress Trac] #28001: WP_Http still fails on some requests with relative url redirects

WordPress Trac noreply at wordpress.org
Wed Oct 8 05:37:58 UTC 2014


#28001: WP_Http still fails on some requests with relative url redirects
--------------------------+---------------------
 Reporter:  DrLightman    |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  HTTP API      |     Version:  3.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by dd32):

 * owner:   => dd32
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29850"]:
 {{{
 #!CommitTicketReference repository="" revision="29850"
 Correctly handle url's containing url's in WP_HTTP::make_absolute_url().
 A valid relative URL could be mistaken for an absolute url if it contained
 a :// in any position of the url.
 Fixes #28001
 }}}

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


More information about the wp-trac mailing list