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] [Commented] (COUCHDB-2195) Invalid database name escape on requesting information about
Date Tue, 11 Mar 2014 17:59:48 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930665#comment-13930665
] 

Alexander Shorin commented on COUCHDB-2195:
-------------------------------------------

You can navigate to this database, but you'll not see database information within databases
list. I've just updated steps to reproduce.

> 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. Get back to databases list page
> 3. Note that Fauxton shows no information about it
> 4. 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