From 1c67869c4299cece7a9fd4a8dfca430b9f2f2f1e Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 18 Nov 2022 11:23:20 -0500 Subject: [PATCH] Addendum to last commit as per feedback Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2372 --- src/js/static-filtering-parser.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 3d3dcd950..844984925 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -3061,7 +3061,13 @@ Parser.utils = Parser.prototype.utils = (( ) => { return String.fromCharCode(first+2, last+2); } case 64: /* T_HEXCHAR, 'HexChar' */ { - if ( node.flags.Code === '01' ) { return '\x00'; } + if ( + node.flags.Code === '01' || + node.flags.Code === '02' || + node.flags.Code === '03' + ) { + return '\x00'; + } return node.flags.Char; } case 128: /* T_SPECIAL, 'Special' */ {