[wp-trac] [WordPress Trac] #47077: Add Support for REDIRECT_HTTP_AUTHORIZATION to REST Server

WordPress Trac noreply at wordpress.org
Tue Apr 30 02:52:56 UTC 2019

#47077: Add Support for REDIRECT_HTTP_AUTHORIZATION to REST Server
 Reporter:  dshanske     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
 In WP_REST_Server->get_headers it endeavors to get a subset of headers.

 It pulls any header with HTTP, strips the HTTP, and adds it. It adds

 Suggesting for compatibility, it pull REDIRECT_HTTP_AUTHORIZATION and add
 it in as 'Authorization' if HTTP_AUTHORIZATION is not set.


 This is mentioned as an issue in multiple auth plugins. In the interest of
 compatibility, this header should be available to the REST endpoint.

Ticket URL: <https://core.trac.wordpress.org/ticket/47077>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list