couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [45/51] [abbrv] futon commit: updated refs/heads/import-master to 53a86dd
Date Thu, 31 Jul 2014 21:43:35 GMT
permit . within database names to allow shard browsing on :5986


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

Branch: refs/heads/import-master
Commit: fc5abecd5fa48a0fb55e9462eed87e79c0315141
Parents: 7b0154f
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

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


http://git-wip-us.apache.org/repos/asf/couchdb-futon/blob/fc5abecd/script/futon.browse.js
----------------------------------------------------------------------
diff --git a/script/futon.browse.js b/script/futon.browse.js
index 3fda707..cf7e70d 100644
--- a/script/futon.browse.js
+++ b/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