[wp-trac] [WordPress Trac] #46381: WordPress multisite API CORS issue with headers (v5)

WordPress Trac noreply at wordpress.org
Fri Mar 1 02:19:20 UTC 2019


#46381: WordPress multisite API CORS issue with headers  (v5)
--------------------------+------------------------------
 Reporter:  kacalica      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by kacalica):

 Hmm okay but why is it redirecting only when I try to reach it through
 fetch()/XMLHTTPREQUESTS ?
 Like I said this is happening from a fresh install with nothing special
 being done.
 Shows up in my codepen as well.

 Seems like direct browser requests will render but any XMLHTTPREQUESTS are
 getting redirected.

 I'll double check on my head and attempt to see where it redirects to.

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


More information about the wp-trac mailing list