[wp-trac] [WordPress Trac] #38521: REST API: Get rid of the `/users/me` redirect

WordPress Trac noreply at wordpress.org
Wed Oct 26 21:21:45 UTC 2016


#38521: REST API: Get rid of the `/users/me` redirect
--------------------------+------------------------------
 Reporter:  jnylen0       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by joehoyle):

 Fair bit of discussion in Slack over this - I think really the redirect
 doesn't give us anything and causes more harm that good, so could be
 removed. Technically, it's odd to have a resource available at two urls,
 but pragmatically, it's better to just deal with it.

 Also, this is a more general issue with the Location header, we may want
 to make sure we are not redirecting anywhere else, as from what I
 understand, it's going to break with CORS 100% of the time.

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


More information about the wp-trac mailing list