[Hackage] #304: cabal-install does not allow tildes in hackage server URIs

#304: cabal-install does not allow tildes in hackage server URIs ----------------------------------+----------------------------------------- Reporter: nfrisby | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: very easy (<1 hour) | Ghcversion: 6.8.2 Platform: | ----------------------------------+----------------------------------------- We're using an internal hackage server, and the Hackage.Config.parseRepo function has been a small hurdle. It does not allow tildes in the URL for the repo, yet obtaining a URL without a tilde requires us to participate in some people process. I bounced the request off Lemmih, and he thinks it's just an oversight. I've attached a patch. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/304 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#304: cabal-install does not allow tildes in hackage server URIs ---------------------------------+------------------------------------------ Reporter: nfrisby | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Comment (by Isaac Dupree): hmm.. I thought tildes weren't technically allowed as part of URIs (or perhaps http:) but I was wrong, the RFCs say that it's allowed just like alphabetic characters. http://www.rfc-editor.org/rfc/rfc4395.txt http://www.rfc-editor.org/rfc/rfc2616.txt . So I guess it is just an oversight. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/304#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#304: cabal-install does not allow tildes in hackage server URIs ---------------------------------+------------------------------------------ Reporter: nfrisby | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Applied, thanks. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/304#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage