mirror of https://github.com/gorhill/uBlock.git
Remove extraneous increment in charset sniffing code
Related commit:7c3e060c01
Related feedback:7c3e060c01 (commitcomment-131759551)
This commit is contained in:
parent
737799e43d
commit
ce835bb300
|
@ -762,7 +762,6 @@ const bodyFilterer = (( ) => {
|
||||||
const c = bytes[i+j];
|
const c = bytes[i+j];
|
||||||
if ( c >= 0x41 && c <= 0x5A ) { break; }
|
if ( c >= 0x41 && c <= 0x5A ) { break; }
|
||||||
if ( c >= 0x61 && c <= 0x7A ) { break; }
|
if ( c >= 0x61 && c <= 0x7A ) { break; }
|
||||||
j += 1;
|
|
||||||
}
|
}
|
||||||
if ( j === 8 ) { return; }
|
if ( j === 8 ) { return; }
|
||||||
i += j;
|
i += j;
|
||||||
|
|
Loading…
Reference in New Issue