mirror of https://github.com/gorhill/uBlock.git
this fixes subscribing to filter lists having a query part in their URL
This commit is contained in:
parent
97e53ba986
commit
bc30979689
|
@ -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 New Issue