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 15:01:24 GMT


ASF subversion and git services commented on COUCHDB-1832:

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

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