couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [19/50] couchdb commit: updated refs/heads/master to 6526051
Date Thu, 10 Jul 2014 14:50:52 GMT
permit . within database names to allow shard browsing on :5986


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

Branch: refs/heads/master
Commit: 105a99a048d2b70768582983a404ba810fd714b9
Parents: 4caa18b
Author: Robert Newson <rnewson@apache.org>
Authored: Wed May 14 16:11:42 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed May 14 16:14:08 2014 +0100

----------------------------------------------------------------------
 share/www/script/futon.browse.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/105a99a0/share/www/script/futon.browse.js
----------------------------------------------------------------------
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 3fda707..cf7e70d 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -131,7 +131,7 @@
       var urlParts = location.search.substr(1).split("/");
       var dbName = decodeURIComponent(urlParts.shift())
 
-      var dbNameRegExp = new RegExp("[^a-z0-9\_\$\(\)\+\/\-]", "g");
+      var dbNameRegExp = new RegExp("[^a-z0-9.\_\$\(\)\+\/\-]", "g");
       dbName = dbName.replace(dbNameRegExp, "");
 
       $.futon.storage.declareWithPrefix(dbName + ".", {


Mime
View raw message