Skip to content

Allow URLs where username or password contains unescaped '@'. #2985

Closed

Description

@lovelydinosaur

Discussed in #2984

We don't gracefully handle the case where a @ character is present and unescaped in a URL userinfo/authority section.
I've confirmed that this is a valid issue, and reduced it down to demonstrating against the httpx.URL() API.

Tested the behaviour for Chrome's URL parsing behaviour using username/password against example.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions