From 2e1541534c7178f51b2bcf2e6c0117f8f3c763f8 Mon Sep 17 00:00:00 2001 From: Andre Fortin Date: Thu, 2 Feb 2017 21:20:19 -0500 Subject: [PATCH] Fix #1325 - BigCommerce is wrongly detected Remove the "env" property that could incorrectly match a function in the global scope. Removed the trailing 'v' from the "script" and "html" entries that looks for the BigCommerce CDN paths since they can begin with letters other than 'v' like 's' in the to examples below. Check against the following URLs : https://shopmonarch.averydennison.com/ http://shop.panthers.com/ --- src/apps.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/apps.json b/src/apps.json index 0a2c7d0d0..36316d2fd 100755 --- a/src/apps.json +++ b/src/apps.json @@ -822,10 +822,9 @@ "cats": [ 6 ], - "env": "^compareProducts$", - "html": "]+cdn\\d+\\.bigcommerce\\.com/v", + "html": "]+cdn\\d+\\.bigcommerce\\.com/", "icon": "Bigcommerce.png", - "script": "cdn\\d+\\.bigcommerce\\.com/v", + "script": "cdn\\d+\\.bigcommerce\\.com/", "url": "mybigcommerce\\.com", "website": "www.bigcommerce.com" }, @@ -9601,4 +9600,4 @@ "51": "Landing Page Builders", "52": "Live Chat" } -} \ No newline at end of file +}