[wp-trac] [WordPress Trac] #40011: Do not add scheme prefix to "null" origin in wp-json's Access-Control-Allow-Origin header

WordPress Trac noreply at wordpress.org
Sun Mar 26 01:22:49 UTC 2017


#40011: Do not add scheme prefix to "null" origin in wp-json's Access-Control-
Allow-Origin header
--------------------------+-----------------------
 Reporter:  vicshih       |       Owner:  joehoyle
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.8
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by joehoyle):

 * owner:   => joehoyle
 * status:  new => assigned
 * milestone:  Awaiting Review => 4.8


Comment:

 Thanks for the report! Yeah we should just not send the header in this
 case. I can do a patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40011#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list