bos / configurator

A Haskell library supporting flexible, dynamic file-based configuration.
Other
128 stars 27 forks source link

Bad error message on unescaped '$' #29

Open 23Skidoo opened 7 years ago

23Skidoo commented 7 years ago

An unescaped $ in a string literal leads to ParseError "" "Failed reading: satisfy" being thrown. Which is not fun if you're storing password-like strings in the config. So it would be nice if the error message was better and also if there was a way to disable var interpolation.