#38070 closed defect (bug) (fixed)
RegEx to remove double slashes affects query strings as well.
Reported by: | cklosows | Owned by: | dd32 |
---|---|---|---|
Milestone: | 4.7.1 | Priority: | normal |
Severity: | normal | Version: | 4.6.1 |
Component: | HTTP API | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
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)
#1
@
8 years ago
- Keywords has-patch has-unit-tests added
- Milestone changed from Awaiting Review to 4.6.2
Definitely seems like a regression. Moving to 4.6.2 for investigation.
#2
@
8 years ago
Will this be included in 4.6.2? We are having trouble with customer unable to communicate with our API endpoints.
Note: See
TracTickets for help on using
tickets.
Applies a restriction to avoid the query string, and a unit test.