[wp-trac] [WordPress Trac] #46199: REST: Escape already decoded values when adding query args

WordPress Trac noreply at wordpress.org
Thu Apr 25 00:07:30 UTC 2019


#46199: REST: Escape already decoded values when adding query args
-------------------------------------+-------------------------
 Reporter:  dmsnell                  |       Owner:  kadamwhite
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.3
Component:  REST API                 |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-------------------------
Changes (by kadamwhite):

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


Comment:

 In [changeset:"45267" 45267]:
 {{{
 #!CommitTicketReference repository="" revision="45267"
 REST API: Always urlencode_deep() query args in get_items methods.

 Passing all received query arguments through urlencode_deep ensures that
 the full set of query arguments are encoded in the same way.

 Props dmsnell.
 Fixes #46199
 }}}

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


More information about the wp-trac mailing list