You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2011/02/04 21:39:30 UTC
[jira] Resolved: (COUCHDB-1058) Design doc attachments cannot start
with an underscore
[ https://issues.apache.org/jira/browse/COUCHDB-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Kocoloski resolved COUCHDB-1058.
-------------------------------------
Resolution: Won't Fix
Nevermind, we already disallowed the underscores:
https://github.com/apache/couchdb/commit/a05797
> 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