Skip to content

Commit

Permalink
code review: this can catch more cases (re d07baef)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Sep 5, 2016
1 parent d07baef commit 276d51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/static-net-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ var FilterParser = function() {
this.reHasUppercase = /[A-Z]/;
this.reIsolateHostname = /^(\*?\.)?([^\x00-\x24\x26-\x2C\x2F\x3A-\x5E\x60\x7B-\x7F]+)(.*)/;
this.reHasUnicode = /[^\x00-\x7F]/;
this.reWebsocketAny = /^ws[s*]?:\/?\/?\*?$/;
this.reWebsocketAny = /^ws[s*]?(?::\/?\/?)?\*?$/;
this.domainOpt = '';
this.reset();
};
Expand Down

0 comments on commit 276d51c

Please sign in to comment.