You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benjamin Young (JIRA)" <ji...@apache.org> on 2011/01/12 22:52:48 UTC

[jira] Updated: (COUCHDB-1026) Database names are not encoded in the rewriter

     [ https://issues.apache.org/jira/browse/COUCHDB-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Young updated COUCHDB-1026:
------------------------------------

    Attachment: encode_db_name_in_rewriter.patch

> Database names are not encoded in the rewriter
> ----------------------------------------------
>
>                 Key: COUCHDB-1026
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1026
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 1.0.1
>            Reporter: Benjamin Young
>         Attachments: encode_db_name_in_rewriter.patch
>
>
> If a database includes special characters (such as / "forward slash"), then the rewriter will fail to find the correct database and send a 404 error:
> {"error":"not_found","reason":"no_db_file"}
> The attached patch simply adds a url_encode step around DbName.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.