From dev-return-10054-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Jun 01 15:41:05 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 86767 invoked from network); 1 Jun 2010 15:41:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 15:41:00 -0000 Received: (qmail 94789 invoked by uid 500); 1 Jun 2010 15:41:00 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 94733 invoked by uid 500); 1 Jun 2010 15:41:00 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 94725 invoked by uid 99); 1 Jun 2010 15:41:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 15:41:00 +0000 X-ASF-Spam-Status: No, hits=-1485.3 required=10.0 tests=ALL_TRUSTED,AWL,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 15:40:59 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o51FedHJ019740 for ; Tue, 1 Jun 2010 15:40:39 GMT Message-ID: <27988953.106201275406839056.JavaMail.jira@thor> Date: Tue, 1 Jun 2010 11:40:39 -0400 (EDT) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-239) Futon cant handle Attachment names with slashes in it. In-Reply-To: <1618181264.1233787439554.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.