summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuelockwood <deathbear@apache.org>2013-12-27 10:11:20 -0500
committersuelockwood <deathbear@apache.org>2013-12-27 10:11:20 -0500
commit234a02ab458c1efc3f3daca15b7734fde2e2b8e4 (patch)
tree707c19aa6f7d3d14e0e3ed9331c26075702028e8
parentbc378807a944f37d3ba45f293f3b4c1f87728a5b (diff)
downloadcouchdb-234a02ab458c1efc3f3daca15b7734fde2e2b8e4.tar.gz
Encode the create a new doc link
-rw-r--r--src/fauxton/app/modules/documents/views.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js
index a0775a18c..8126f20d1 100644
--- a/src/fauxton/app/modules/documents/views.js
+++ b/src/fauxton/app/modules/documents/views.js
@@ -463,7 +463,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum
recordStart = this.collection.recordStart();
return {
- database: this.collection.database.id,
+ database: app.mixins.safeURLName(this.collection.database.id),
updateSeq: updateSeq,
offset: recordStart,
totalRows: totalRows,