couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-2195) Invalid database name escape on requesting information about
Date Tue, 11 Mar 2014 10:37:42 GMT
Alexander Shorin created COUCHDB-2195:
-----------------------------------------

             Summary: Invalid database name escape on requesting information about
                 Key: COUCHDB-2195
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2195
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Alexander Shorin


1. Create database with `_` in name, like `test_suite_db/with_slashes`
2. Note that Fauxton shows no information about it
3. In console log you'll found the next error:
{code}
Failed to load resource: the server responded with a status of 400 (Bad Request) http://localhost:5984/test_suite_db%252Fwith_slashes
{code}
Note that correct URI name `test_suite_db%2Fwith_slashes` was escaped once again

Also note, that `_` character matters - without it there is no any issues for `test/suite/db/with/slashes`.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message