couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject couchdb commit: updated refs/heads/2164-attachments-encoded to 9a6ff0d
Date Fri, 14 Mar 2014 03:26:45 GMT
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 <deathbear@apache.org>
Authored: Thu Mar 13 23:26:33 2014 -0400
Committer: suelockwood <deathbear@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);
     },


Mime
View raw message