From ce835bb30081fec156373a11ef766f6180cd7405 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 5 Nov 2023 14:19:06 -0500 Subject: [PATCH] Remove extraneous increment in charset sniffing code Related commit: https://github.com/gorhill/uBlock/commit/7c3e060c017a7e832314ef67c624ebbb20e52473 Related feedback: https://github.com/gorhill/uBlock/commit/7c3e060c017a7e832314ef67c624ebbb20e52473#commitcomment-131759551 --- src/js/traffic.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/traffic.js b/src/js/traffic.js index 8303e8ceb..4b746e17d 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -762,7 +762,6 @@ const bodyFilterer = (( ) => { const c = bytes[i+j]; if ( c >= 0x41 && c <= 0x5A ) { break; } if ( c >= 0x61 && c <= 0x7A ) { break; } - j += 1; } if ( j === 8 ) { return; } i += j;