From 784c38e20f389cd31aa1651a7958cac92c5b8da0 Mon Sep 17 00:00:00 2001 From: Patrick Liechty Date: Fri, 26 Jul 2013 15:01:42 -0600 Subject: [PATCH] Remove . It looks for . in the domain, but it can be present in a param. Fix issue 316. --- scripts/uncompressed/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uncompressed/history.js b/scripts/uncompressed/history.js index 299e7721..7fef7269 100644 --- a/scripts/uncompressed/history.js +++ b/scripts/uncompressed/history.js @@ -927,7 +927,7 @@ */ History.isTraditionalAnchor = function(url_or_hash){ // Check - var isTraditional = !(/[\/\?\.]/.test(url_or_hash)); + var isTraditional = !(/[\/\?]/.test(url_or_hash)); // Return return isTraditional;