[wp-trac] [WordPress Trac] #45346: Varnish querystring.sort can break load-styles.php

WordPress Trac noreply at wordpress.org
Mon May 27 17:28:53 UTC 2019


#45346: Varnish querystring.sort can break load-styles.php
---------------------------+---------------------
 Reporter:  rabin.io       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.3
Component:  Script Loader  |     Version:  4.9.8
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------

Comment (by azaozz):

 Note: as discussed in
 https://core.trac.wordpress.org/ticket/26886#comment:39 the sorting
 function here `set req.url = querystring.sort(req.url);` should not sort
 (return early) if the query string contains an array, i.e. if more than
 one param name has `[` and `]` in it.

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


More information about the wp-trac mailing list