[wp-trac] [WordPress Trac] #20681: Allow Origin API
WordPress Trac
wp-trac at lists.automattic.com
Tue May 15 18:46:04 UTC 2012
#20681: Allow Origin API
--------------------------+------------------
Reporter: ryan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Security | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by ryan):
In [20794]:
{{{
#!CommitTicketReference repository="" revision="20794"
API for allowing cross origin resource sharing.
* Allowed origin whitelist that can be altered by plugins
* Validation of the request origin against the whitelist
* Send Access-Control-Allow-Origin if origin allowed
* get_http_origin(), get_allowed_http_origins(), is_allowed_http_origin(),
send_origin_headers()
See #20681
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20681#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list