[wp-trac] [WordPress Trac] #48309: Vary: Origin header needs to allow for header preservation.

WordPress Trac noreply at wordpress.org
Tue Oct 15 15:45:50 UTC 2019


#48309: Vary: Origin header needs to allow for header preservation.
----------------------------+------------------------
 Reporter:  whyisjake       |       Owner:  whyisjake
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  5.2.5
Component:  REST API        |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------
Changes (by whyisjake):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46544" 46544]:
 {{{
 #!CommitTicketReference repository="" revision="46544"
 REST API: Allow for multiple Vary: Origin headers in GET responses.

 Simple fix, we pass `false` as the second parameter to the header
 function.

 This is something that we added downstream of the 5.2.4 release, but we
 missed in 5.2/trunk.

 Fixes #48309.
 Props xknown, whyisjake.
 }}}

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


More information about the wp-trac mailing list