mirror of https://github.com/gorhill/uBlock.git
Fix regex to validate URL of imported lists
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1306
This commit is contained in:
parent
61ac9a5b6e
commit
2b5a853d8c
|
@ -30,7 +30,7 @@
|
|||
/******************************************************************************/
|
||||
|
||||
const lastUpdateTemplateString = vAPI.i18n('3pLastUpdate');
|
||||
const reValidExternalList = /[a-z-]+:\/\/\S*\/\S+/;
|
||||
const reValidExternalList = /^[a-z-]+:\/\/(?:\S+\/\S*|\/\S+)/m;
|
||||
|
||||
let listDetails = {};
|
||||
let filteringSettingsHash = '';
|
||||
|
|
Loading…
Reference in New Issue