Ticket #877 (new defect)
Cabal config breaks on Windows with username "{"
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.10.1.0 |
| Severity: | major | Keywords: | escaping |
| Cc: | Difficulty: | easy (<4 hours) | |
| GHC Version: | Platform: |
Description
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

