code review: this can catch more cases (re d07baef742)

This commit is contained in:
gorhill 2016-09-05 18:56:35 -04:00
parent d07baef742
commit 276d51c4f0
1 changed files with 1 additions and 1 deletions

View File

@ -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();
};