Design doc attachments cannot start with an underscore
------------------------------------------------------

                 Key: COUCHDB-1058
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1058
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 1.0.2
            Reporter: Adam Kocoloski
            Priority: Minor
             Fix For: 1.0.3, 1.1


We throw an error if someone tries to request an attachment like that:

https://github.com/apache/couchdb/commit/347015

I think the following fix might be preferable:

https://github.com/cloudant/chttpd/commit/741a83

It'll send a 404 if the user tries an unknown action, unless there happens to 
be an attachment with that same name.  I suppose we could also just disallow 
attachment names that start with an underscore, like we do for document IDs.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to