Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 396691012F for ; Tue, 11 Mar 2014 18:39:46 +0000 (UTC) Received: (qmail 49676 invoked by uid 500); 11 Mar 2014 18:39:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 49640 invoked by uid 500); 11 Mar 2014 18:39:44 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 49625 invoked by uid 99); 11 Mar 2014 18:39:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 18:39:43 +0000 Date: Tue, 11 Mar 2014 18:39:43 +0000 (UTC) From: "Garren Smith (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COUCHDB-2195) Invalid database name escape on requesting information about MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Garren Smith updated COUCHDB-2195: ---------------------------------- Labels: intermediate (was: ) > 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 > Labels: intermediate > > 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)