Trim excess leading path separators
Before adoption: this commit came in with the history the project adopted, so no landing records it.
A URL with excess leading / (path-separator)s would cause urllib3 to attempt to reparse the request-uri as a full URI with a host and port. This bypasses that logic in ConnectionPool.urlopen by replacing these leading /s with just a single /. Closes #6643
authored by Ian Stapleton Cordasco · committed by Ian Stapleton Cordasco · parent 7a13c04 · Browse files · 2 files+11 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+11 added−0 removed
- tests:+8 added−0 removed
- other:+3 added−0 removed