Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1058

Design doc attachments cannot start with an underscore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0.2
    • 1.0.3, 1.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kocolosk Adam Kocoloski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: