[wp-trac] [WordPress Trac] #36451: get_rest_url() not returning SSL version of the URL when the home_url it's a subdomain
WordPress Trac
noreply at wordpress.org
Mon Jan 16 03:32:13 UTC 2017
#36451: get_rest_url() not returning SSL version of the URL when the home_url it's
a subdomain
-------------------------+-------------------------------------------------
Reporter: nicholas_io | Owner:
Type: defect | Status: reopened
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 4.4
Component: REST API | Resolution:
Severity: major | Focuses: administration, multisite, rest-
Keywords: | api
-------------------------+-------------------------------------------------
Comment (by rmccue):
Worth mentioning that the Host header is user input, so can't necessarily
be trusted, but I don't think that generally applies in this case.
@johnbillion You wrote the original code for this in #34299, can you take
a look at this ticket?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36451#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list