Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 85190 invoked from network); 1 Jun 2010 15:39:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 15:39:27 -0000 Received: (qmail 90461 invoked by uid 500); 1 Jun 2010 15:39:27 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 90427 invoked by uid 500); 1 Jun 2010 15:39:27 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 90420 invoked by uid 99); 1 Jun 2010 15:39:27 -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:39:27 +0000 X-ASF-Spam-Status: No, hits=-1646.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 15:39:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 42A0E23889ED; Tue, 1 Jun 2010 15:39:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r950119 - /couchdb/trunk/share/www/script/futon.browse.js Date: Tue, 01 Jun 2010 15:39:07 -0000 To: commits@couchdb.apache.org From: jan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100601153907.42A0E23889ED@eris.apache.org> Author: jan Date: Tue Jun 1 15:39:06 2010 New Revision: 950119 URL: http://svn.apache.org/viewvc?rev=950119&view=rev Log: fix attachments with "./" in their names in Futon. Closes COUCHDB-239. Modified: couchdb/trunk/share/www/script/futon.browse.js Modified: couchdb/trunk/share/www/script/futon.browse.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=950119&r1=950118&r2=950119&view=diff ============================================================================== --- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original) +++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Tue Jun 1 15:39:06 2010 @@ -1266,7 +1266,7 @@ for (var i=0; i < parts.length; i++) { encoded.push(encodeURIComponent(parts[i])); }; - return encoded.join('/'); + return encoded.join('%2f'); } })(jQuery);