couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1832) Inline Attachment API allows empty names
Date Tue, 18 Jun 2013 14:33:20 GMT


ASF subversion and git services commented on COUCHDB-1832:

Commit ad774b6e096d5011a16837e600db70204e9ae28c in branch refs/heads/1832-fix-empty-attachment-name
from [~janl]
[;h=ad774b6 ]

Prevent creation of empty attachment names via inline API.

It is possible to create an attachment using the inline
attachment API that has the empty string "" as the name:

  "_attachments": {
    "": {...}

Attachments created this way can’t be retrieved via the
standalone attachment API.

This patch adds testing for the empty string in the
`validate_attachment_name` function.

Closes COUCHDB-1832

> Inline Attachment API allows empty names
> ----------------------------------------
>                 Key: COUCHDB-1832
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jan Lehnardt
> The standalone attachment API allows the creation of attachments with an empty name.

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:

View raw message