summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-06-01 15:39:06 +0000
committerJan Lehnardt <jan@apache.org>2010-06-01 15:39:06 +0000
commitdd67e81b940e459d9f2775dde8632b6896639adb (patch)
tree0799cee267d1066781c3e9acb5b1c5b6ab4c2484
parent3c30452e37e32a8c012a9b4a07702fb591423ccf (diff)
fix attachments with "./" in their names in Futon. Closes COUCHDB-239.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950119 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--share/www/script/futon.browse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 788d318c..83f29033 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -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);