aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-02-11 12:44:17 -0500
committergorhill <rhill@raymondhill.net>2015-02-11 12:44:17 -0500
commit064f8f0f61f1aeedac04ec7bb33351d794e0ce97 (patch)
treeb9960e827ccb577b6c39d01b955c705cf6ba8b65
parent043f66f1172e56c346f38d6abb272b43160dbaff (diff)
downloaduBlock-064f8f0f61f1aeedac04ec7bb33351d794e0ce97.zip
uBlock-064f8f0f61f1aeedac04ec7bb33351d794e0ce97.tar.gz
uBlock-064f8f0f61f1aeedac04ec7bb33351d794e0ce97.tar.bz2
this fixes #771
-rw-r--r--src/js/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/assets.js b/src/js/assets.js
index 41e75ab..86c00fc 100644
--- a/src/js/assets.js
+++ b/src/js/assets.js
@@ -55,7 +55,7 @@ var oneDay = 24 * oneHour;
var projectRepositoryRoot = µBlock.projectServerRoot;
var thirdpartiesRepositoryRoot = 'https://raw.githubusercontent.com/gorhill/uAssets/master/src';
var nullFunc = function() {};
-var reIsExternalPath = /^https?:\/\/[a-z0-9]/;
+var reIsExternalPath = /^[a-z]+:\/\//;
var reIsUserPath = /^assets\/user\//;
var lastRepoMetaTimestamp = 0;
var lastRepoMetaIsRemote = false;