Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.2
-
None
-
Regular Contributors Level (Easy to Medium)
Description
Today I received a bug report from a user who thought CouchDB might be relaxing and evaluate an arithmetic expression in the config. (That makes sense, since it seems to evaluate erlang terms elsewhere.)
It would be nice for CouchDB to validate config input, particularly when bad values permanently take it offline. (In this case, it returns 500 for all subsequent requests.)
IMO, a good bang-for-buck is to have three basic value types:
1. String
2. Erlang tuple
3. Integer
And each setting knows what type it must be.
Attachments
Issue Links
- is duplicated by
-
COUCHDB-1215 Improve _config error handling by validating certain (if not all) values based on their keys
- Closed