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

HTTP_PROXY and reserved characters #1579

Closed
pierrevandelaar opened this issue Nov 13, 2013 · 5 comments
Closed

HTTP_PROXY and reserved characters #1579

pierrevandelaar opened this issue Nov 13, 2013 · 5 comments

Comments

@pierrevandelaar
Copy link

The value of HTTP_PROXY has as format
http://user:pass@host:80/

In the password special characters can occur, like @ and !.
According to wiki (http://en.wikipedia.org/wiki/Percent-escape)
these characters must be percent-encoded, like %40 and %21.

Cabal doesn't accept percent-encoded characters.
And cabal errs on these characters (if password is a@b, Cabal doesn't look to the right site, but probably to "b@host:80" (error message is not clear enough to be certain)

@pierrevandelaar
Copy link
Author

Note if cabal would have used my default windows proxy settings, I would have never noticed this error ;-)

@23Skidoo
Copy link
Member

23Skidoo commented Dec 6, 2013

That's probably an issue with the HTTP library.

@ttuegel
Copy link
Member

ttuegel commented Apr 23, 2015

This issue needs to be solved in HTTP.

@ttuegel ttuegel closed this as completed Apr 23, 2015
@23Skidoo
Copy link
Member

@ttuegel
Can you please report it to them?

@ttuegel
Copy link
Member

ttuegel commented Apr 23, 2015

Done.

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

No branches or pull requests

3 participants