mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
this fixes subscribing to filter lists having a query part in their URL
This commit is contained in:
parent
97e53ba986
commit
bc30979689
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ var onAbpLinkClicked = function(ev) {
|
|||
}
|
||||
var matches = /^abp:\/*subscribe\/*\?location=([^&]+).*title=([^&]+)/.exec(href);
|
||||
if ( matches === null ) {
|
||||
matches = /^https?:\/\/[^?]+\?location=([^&]+).*title=([^&]+)/.exec(href);
|
||||
matches = /^https?:\/\/.*?[&?]location=([^&]+).*?&title=([^&]+)/.exec(href);
|
||||
if ( matches === null ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue