You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2014/03/14 04:26:45 UTC

couchdb commit: updated refs/heads/2164-attachments-encoded to 9a6ff0d

Repository: couchdb
Updated Branches:
  refs/heads/2164-attachments-encoded [created] 9a6ff0df6


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/9a6ff0df
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9a6ff0df
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9a6ff0df

Branch: refs/heads/2164-attachments-encoded
Commit: 9a6ff0df6bd27558cbf5d70e648a640cfc4691dc
Parents: 4f7cb15
Author: suelockwood <de...@apache.org>
Authored: Thu Mar 13 23:26:33 2014 -0400
Committer: suelockwood <de...@apache.org>
Committed: Thu Mar 13 23:26:33 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/9a6ff0df/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 48075e8..e104a69 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);
     },