Skip to content

Support percent-encoded userinfo as per RFC3986#19

Open
z1ga wants to merge 2 commits intomixxorz:mainfrom
z1ga:userinfo-encode
Open

Support percent-encoded userinfo as per RFC3986#19
z1ga wants to merge 2 commits intomixxorz:mainfrom
z1ga:userinfo-encode

Conversation

@z1ga
Copy link
Copy Markdown

@z1ga z1ga commented Sep 13, 2023

This update adds support for percent-encoded userinfo (ie. usernames and passwords with special characters).

Examples:

  • abc!$%^&:@123 as password
  • user@example.com as username

This is done by percent-decoding username and password parts of the URL as per RFC3986 Section-3.2.1.

@mixxorz
Copy link
Copy Markdown
Owner

mixxorz commented Nov 29, 2023

Hey @z1ga . This looks great. Would you mind fixing the issues with the tests?

@z1ga
Copy link
Copy Markdown
Author

z1ga commented Jan 9, 2024

Hey, it took me a while, but it should be fixed now.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants