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

WordPress Trac noreply at wordpress.org
Tue Oct 15 15:53:38 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:
----------------------------+------------------------

Comment (by whyisjake):

 In [changeset:"46545" 46545]:
 {{{
 #!CommitTicketReference repository="" revision="46545"
 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, see also [46544].
 Props xknown, whyisjake.
 }}}

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


More information about the wp-trac mailing list