iilyak opened a new pull request #1647: Validate database prefix against 
DBNAME_REGEX for system dbs
URL: https://github.com/apache/couchdb/pull/1647
 
 
   ## Overview
   
   Previously we only checked that the suffix of the database is
   matching one of the predefined system databases. We really should
   check the prefix against DBNAME_REGEXP to prevent creation of
   illegally named databases.
   
   ## Testing recommendations
   
   ```
   make eunit apps=couch tests=validate_dbname_fail_test_
   ```
   
   ## Related Issues or Pull Requests
   
   This fixes #1644 
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to