couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-239) Futon cant handle Attachment names with slashes in it.
Date Tue, 01 Jun 2010 15:40:39 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Lehnardt closed COUCHDB-239.
--------------------------------

    Fix Version/s: 1.0
       Resolution: Fixed

> Futon cant handle Attachment names with slashes in it.
> ------------------------------------------------------
>
>                 Key: COUCHDB-239
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-239
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>         Environment: 0.9.0a731724-incubating
>            Reporter: Maximillian Dornseif
>            Priority: Minor
>             Fix For: 1.0
>
>
> I have managed to create files attachments with filenames starting './foo/...'. See
> http://static.23.nu/md/Pictures/ZZ565827C3.png
> If I want to access them in Futon it results in the URL http://example.com:5984/huimages/222EPXUPYLMKM2JPBKBBFPH6U7N5UCR601/./Bilder_Photos/5-0-Multisport/5-06-Tischtennis/76253.jpg
> this is automatically changed by my browser (Safari) to
> http://example.com:5984/huimages/222EPXUPYLMKM2JPBKBBFPH6U7N5UCR601/Bilder_Photos/5-0-Multisport/5-06-Tischtennis/76253.jpg
> resulting in {"error":"not_found","reason":"Document is missing attachment"}
> I can access the file, if I change one of the slashes to %2f:
> http://example.com:5984/huimages/222EPXUPYLMKM2JPBKBBFPH6U7N5UCR601/.%2fBilder_Photos/5-0-Multisport/5-06-Tischtennis/76253.jpg

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message