mirror of https://github.com/gorhill/uBlock.git
broaden detection of websocket-specific filters (see https://github.com/gorhill/uBlock/issues/1943#issuecomment-243188946)
This commit is contained in:
parent
57a7558f6a
commit
d07baef742
|
@ -1304,7 +1304,7 @@ var FilterParser = function() {
|
||||||
this.reHasUppercase = /[A-Z]/;
|
this.reHasUppercase = /[A-Z]/;
|
||||||
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
|
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
|
||||||
this.reHasUnicode = /[^\x00-\x7F]/;
|
this.reHasUnicode = /[^\x00-\x7F]/;
|
||||||
this.reWebsocketAny = /^wss?:(?:\/\/)?$/;
|
this.reWebsocketAny = /^ws[s*]?:\/?\/?\*?$/;
|
||||||
this.domainOpt = '';
|
this.domainOpt = '';
|
||||||
this.reset();
|
this.reset();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue