[Hackage] #877: Cabal config breaks on Windows with username "{"
Hackage
cvs-ghc at haskell.org
Sat Aug 20 16:51:22 CEST 2011
#877: Cabal config breaks on Windows with username "{"
------------------------------+---------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.10.1.0
Severity: major | Keywords: escaping
Difficulty: easy (<4 hours) | Ghcversion:
Platform: |
------------------------------+---------------------------------------------
I can't do anything because my username is "{". Either the parsing is
being done incorrectly or the config file was generated incorrectly.
I named myself this deliberately to see if any software would break; kind
of sad that the one thing that broke so far is cabal, thought you would
know better... My config file is attached.
C:\Program Files (x86)\Console2>cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library
C:\Program Files (x86)\Console2>cabal update
Warning: Error parsing config file
C:\Users\{\AppData\Roaming\cabal\config:46:
opening brace '{'has no matching closing brace '}'
Warning: Using default configuration.
Downloading the latest package list from hackage.haskell.org
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/877>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list