[wp-trac] [WordPress Trac] #34299: Force the REST API endpoint to HTTPS when appropriate
WordPress Trac
noreply at wordpress.org
Thu Oct 22 00:07:38 UTC 2015
#34299: Force the REST API endpoint to HTTPS when appropriate
--------------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"35351"]:
{{{
#!CommitTicketReference repository="" revision="35351"
Force the REST API URL to use `https` for its scheme when the current
request is served over HTTPS and the host name matches that of the REST
API URL.
This allows sites to use an admin area over HTTPS with the front end over
HTTP, and not end up with a cross-protocol problem when using the REST API
URL in the admin area.
Fixes #34299
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34299#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list