You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/08 11:18:20 UTC

[GitHub] iilyak opened a new pull request #1647: Validate database prefix against DBNAME_REGEX for system dbs

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:
users@infra.apache.org


With regards,
Apache Git Services