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

Error running httpx with '%' character in path #373

Closed
ehsandeep opened this issue Aug 22, 2021 · 0 comments · Fixed by #375
Closed

Error running httpx with '%' character in path #373

ehsandeep opened this issue Aug 22, 2021 · 0 comments · Fixed by #375
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@ehsandeep
Copy link
Member

Describe the bug
Related to #331

Environment details

Tested on httpx v1.1.2

Error details

This works:-

echo example.com | httpx -unsafe -path '/%invalid' -silent

But not this:-

echo 'example.com/%invalid' | httpx -unsafe -verbose
[DBG] Failed 'https://example.com/%invalid': parse "https://example.com/%invalid": invalid URL escape "%in"
@ehsandeep ehsandeep added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Aug 22, 2021
@Mzack9999 Mzack9999 linked a pull request Aug 22, 2021 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants