[ https://issues.apache.org/jira/browse/COUCHDB-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445866#comment-13445866 ] Robert Newson commented on COUCHDB-1026: ---------------------------------------- The committed patch is not the one attached to this JIRA as no license was granted. > 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 > Priority: Blocker > Fix For: 1.3 > > Attachments: ASF.LICENSE.NOT.GRANTED--encode_db_name_in_rewriter.patch, rewrite_db_with_forward_slashes.js > > > 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. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira