You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/06/01 17:39:29 UTC

svn commit: r950120 - /couchdb/branches/0.11.x/share/www/script/futon.browse.js

Author: jan
Date: Tue Jun  1 15:39:28 2010
New Revision: 950120

URL: http://svn.apache.org/viewvc?rev=950120&view=rev
Log:
fix attachments with "./" in their names in Futon. Closes COUCHDB-239.

Modified:
    couchdb/branches/0.11.x/share/www/script/futon.browse.js

Modified: couchdb/branches/0.11.x/share/www/script/futon.browse.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/script/futon.browse.js?rev=950120&r1=950119&r2=950120&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/branches/0.11.x/share/www/script/futon.browse.js [utf-8] Tue Jun  1 15:39:28 2010
@@ -1232,7 +1232,7 @@
     for (var i=0; i < parts.length; i++) {
       encoded.push(encodeURIComponent(parts[i]));
     };
-    return encoded.join('/');
+    return encoded.join('%2f');
   }
 
 })(jQuery);