diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-09-28 22:49:32 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-09-28 22:49:32 +0100 |
commit | b57aadd742e4f8cc925ba4f005ae658c43a7c5b4 (patch) | |
tree | 5c8ef39658f17590ca87c3f99d8fd2286f613b09 /rel/overlay/share/www/script | |
parent | 9bc5ef028ea666e275ade466297ce6dc8a71de69 (diff) |
permit . within database names to allow shard browsing on :5986
Diffstat (limited to 'rel/overlay/share/www/script')
-rw-r--r-- | rel/overlay/share/www/script/futon.browse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rel/overlay/share/www/script/futon.browse.js b/rel/overlay/share/www/script/futon.browse.js index 47a24110..0228b83e 100644 --- a/rel/overlay/share/www/script/futon.browse.js +++ b/rel/overlay/share/www/script/futon.browse.js @@ -99,7 +99,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 + ".", { |