Skip to content

fix(auth): decode percent-encoded credentials from URL#1714

Closed
gilangjavier wants to merge 1 commit intohttpie:masterfrom
gilangjavier:fix/decode-url-userinfo-auth
Closed

fix(auth): decode percent-encoded credentials from URL#1714
gilangjavier wants to merge 1 commit intohttpie:masterfrom
gilangjavier:fix/decode-url-userinfo-auth

Conversation

@gilangjavier
Copy link

Fixes #1623.

When credentials are provided via URL userinfo (e.g. https://u%40d:...@host/...), HTTPie should decode percent-encoded characters before constructing Basic Auth credentials.

Added a regression test covering percent-encoded username/password in the URL.

@gilangjavier
Copy link
Author

Closing this PR because multiple other PRs are already addressing issue #1623. I'll work on a different issue to avoid duplication.

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.

Username/password in the URL not decoded when used for basic authentication

1 participant