Fix attachment name validation when creating inline attachments.
authorJan Lehnardt <jan@apache.org>
Sat, 29 Oct 2011 15:54:49 +0000 (17:54 +0200)
committerJan Lehnardt <jan@apache.org>
Sat, 29 Oct 2011 15:54:49 +0000 (17:54 +0200)
commit05858792ace840206d083b2b3cd7367d1b45221a
treea96d71a9c1184c868d012884f7494c20010ec4b8
parentbea76dbf523498890a9d59df5d6712ac9374a219
Fix attachment name validation when creating inline attachments.

Do not allow names to start with an underscore.

Closes COUCHDB-1210.
src/couchdb/couch_httpd_db.erl