mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue