You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/04 10:02:10 UTC

[jira] [Commented] (COUCHDB-3051) Database named a$- does not load properly in databases view

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

ASF GitHub Bot commented on COUCHDB-3051:
-----------------------------------------

GitHub user samk1 opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/742

    database ID gets URI encoded twice on url()

    Closes COUCHDB-3051

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

    $ git pull https://github.com/samk1/couchdb-fauxton 3051-double-url-encode

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

    https://github.com/apache/couchdb-fauxton/pull/742.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 #742
    
----
commit d4173de2c733c714c6124f71c1c575d2da5492a7
Author: samk <sa...@gmail.com>
Date:   2016-07-04T07:59:37Z

    remove '-' character from bad characters class

commit 5f2132771b0255a7e5f57bf66d6c680a4031b827
Author: samk <sa...@gmail.com>
Date:   2016-07-04T09:35:03Z

    found a less global way to solve the problem: remove the second call to safeURLName

----


> Database named a$- does not load properly in databases view
> -----------------------------------------------------------
>
>                 Key: COUCHDB-3051
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3051
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Fauxton
>            Reporter: Sam Kidman
>
> If you create a database named a$- (or anything with a non-safe character and '\-') the database name gets URI encoded twice when database information is fetched from couch. (eg. a$\- \-> a%24\- \-> a%2524\-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)