#38070 closed defect (bug) (fixed)
RegEx to remove double slashes affects query strings as well.
| Reported by: | cklosows | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7.1 |
| Component: | HTTP API | Version: | 4.6.1 |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Applies a restriction to avoid the query string, and a unit test.