haskell / haskell/HTTP

Improper encoding of reserved characters

Offen
#83 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Haskell
Sterne
186
Forks
59
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

This was [originally](https://github.com/haskell/cabal/issues/1579) reported as a Cabal bug, but I believe it belongs here:

> 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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.