Repository: couchdb
Updated Branches:
  refs/heads/master 13010ed26 -> 585ddafb5


encoded attachment name


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/585ddafb
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/585ddafb
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/585ddafb

Branch: refs/heads/master
Commit: 585ddafb509da20966ceea41102e940643de7586
Parents: 13010ed
Author: suelockwood <[email protected]>
Authored: Thu Mar 13 23:26:33 2014 -0400
Committer: suelockwood <[email protected]>
Committed: Mon Mar 17 08:27:32 2014 -0400

----------------------------------------------------------------------
 src/fauxton/app/addons/documents/views.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/585ddafb/src/fauxton/app/addons/documents/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/views.js 
b/src/fauxton/app/addons/documents/views.js
index 56e9911..f29ebaa 100644
--- a/src/fauxton/app/addons/documents/views.js
+++ b/src/fauxton/app/addons/documents/views.js
@@ -940,7 +940,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, 
pouchdb, resizeColum
           fileName: key,
           size: att.length,
           contentType: att.content_type,
-          url: this.model.url() + '/' + key
+          url: this.model.url() + '/' + app.utils.safeURLName(key)
         };
       }, this);
     },

Reply via email to