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 DFE0B10FA3 for ; Sun, 4 May 2014 12:53:19 +0000 (UTC) Received: (qmail 28796 invoked by uid 500); 4 May 2014 12:53:18 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 28385 invoked by uid 500); 4 May 2014 12:53:17 -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 28377 invoked by uid 99); 4 May 2014 12:53:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2014 12:53:15 +0000 Date: Sun, 4 May 2014 12:53:15 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (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 ] Alexander Shorin resolved COUCHDB-2195. --------------------------------------- Resolution: Fixed Assignee: Sue Lockwood > 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 > Assignee: Sue Lockwood > 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)