[wp-trac] [WordPress Trac] #29886: WP_HTTP::make_absolute_url() treats schemeless URLs as relative
WordPress Trac
noreply at wordpress.org
Wed Oct 8 05:57:17 UTC 2014
#29886: WP_HTTP::make_absolute_url() treats schemeless URLs as relative
--------------------------+---------------------
Reporter: dd32 | Owner: dd32
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: HTTP API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------
Changes (by dd32):
* owner: => dd32
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29851"]:
{{{
#!CommitTicketReference repository="" revision="29851"
Correctly support Schemeless URLs in WP_HTTP::make_absolute_url() by
respecting the 'host' field if present in the relative url.
Fixes #29886
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29886#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list