Skip to content

Commit d07baef

Browse files
committed
broaden detection of websocket-specific filters (see #1943 (comment))
1 parent 57a7558 commit d07baef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/static-net-filtering.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ var FilterParser = function() {
13041304
this.reHasUppercase = /[A-Z]/;
13051305
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
13061306
this.reHasUnicode = /[^\x00-\x7F]/;
1307-
this.reWebsocketAny = /^wss?:(?:\/\/)?$/;
1307+
this.reWebsocketAny = /^ws[s*]?:\/?\/?\*?$/;
13081308
this.domainOpt = '';
13091309
this.reset();
13101310
};

0 commit comments

Comments
 (0)