Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim excess leading path separators #6644

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Commits on Feb 23, 2024

  1. Trim excess leading path separators

    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 psf#6643
    sigmavirus24 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    60389df View commit details
    Browse the repository at this point in the history