Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 25683 invoked from network); 4 Feb 2009 22:44:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2009 22:44:29 -0000 Received: (qmail 10068 invoked by uid 500); 4 Feb 2009 22:44:28 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 10036 invoked by uid 500); 4 Feb 2009 22:44:28 -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 10025 invoked by uid 99); 4 Feb 2009 22:44:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 14:44:28 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 22:44:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8AF39234C48B for ; Wed, 4 Feb 2009 14:43:59 -0800 (PST) Message-ID: <1618181264.1233787439554.JavaMail.jira@brutus> Date: Wed, 4 Feb 2009 14:43:59 -0800 (PST) From: "Maximillian Dornseif (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-239) Futon cant handle Attachment names with slashes in it. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: Administration Console Environment: 0.9.0a731724-incubating Reporter: Maximillian Dornseif Priority: Minor 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.