[wp-trac] [WordPress Trac] #38070: RegEx to remove double slashes affects query strings as well.

WordPress Trac noreply at wordpress.org
Thu Sep 15 18:14:36 UTC 2016


#38070: RegEx to remove double slashes affects query strings as well.
--------------------------+-----------------------------
 Reporter:  cklosows      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:  4.6.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In #37733 a RegEx was applied that was overreaching the 'path' of the URL
 and is affecting the query string parameters as well. There is an upstream
 fix in the Requests library
 (https://github.com/rmccue/Requests/issues/231) but not sure if that's
 something wanted to be done in a point release, so the attached patch
 fixes this overstep as suggested by @rmccue in the Make Slack.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38070>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list