GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-couch/pull/188

    3080 fix validate dbname

    Fix the case when DbName contains path to db file
    In the case when DbName contains the file name we need to remove .couch
    extension in order to match ?DBNAME_REGEX.
    
    [COUCHDB-3080](https://issues.apache.org/jira/browse/COUCHDB-3080)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch 
3080-fix-validate_dbname

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/188.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #188
    
----
commit b622ef36abdd8b9d2f18371d749cab6139568a97
Author: ILYA Khlopotov <[email protected]>
Date:   2016-07-25T22:22:04Z

    Factor out maybe_remove_extension/1 function
    
    COUCHDB-3080

commit 3f57691a180ef3c6dfa8fa2ce7a91eb638680eaf
Author: ILYA Khlopotov <[email protected]>
Date:   2016-07-25T22:23:30Z

    Fix the case when DbName contains path to db file
    
    In the case when DbName contains the file name we need to remove .couch
    extension in order to match ?DBNAME_REGEX.
    
    COUCHDB-3080

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to