[wp-trac] [WordPress Trac] #30371: Allow for // rooted URLs in http request() calls (wp_remote_get(), etc)
WordPress Trac
noreply at wordpress.org
Mon Nov 17 23:14:49 UTC 2014
#30371: Allow for // rooted URLs in http request() calls (wp_remote_get(), etc)
-------------------------+------------------------------
Reporter: dmchale | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by dd32):
This is somewhat related to #28001
I'm not entirely sure that we can assume a scheme-less URL is definitely
available over SSL, however, defaulting to HTTP isn't optimal.
The approach of respecting the request scheme doesn't seem to be ideal
either, but at least has some logic to it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30371#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list