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

WordPress Trac noreply at wordpress.org
Thu Jan 23 18:50:57 UTC 2020


#47077: Add Support for REDIRECT_HTTP_AUTHORIZATION to REST Server
-------------------------------------------+---------------------
 Reporter:  dshanske                       |       Owner:  (none)
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  5.4
Component:  REST API                       |     Version:  4.4
 Severity:  normal                         |  Resolution:
 Keywords:  dev-feedback needs-unit-tests  |     Focuses:
-------------------------------------------+---------------------
Changes (by TimothyBlynJacobs):

 * keywords:  dev-feedback => dev-feedback needs-unit-tests


Comment:

 Thanks for the patch @dshanske! I think unit tests would be nice to have
 here.

 Should we double check that `HTTP_AUTHORIZATION` is not set? Or would that
 be overkill do you think. Thinking if it is possible for the header value
 to be stomped on if both keys are set somehow.

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


More information about the wp-trac mailing list