HTML filter activated results in blank page
I run LocalCDN with Firefox 86.0 64 bit on Windows 10 Professional 64 bit.
uBlock Origin contains the rules created by LocalCDN.
This page https://www.flixbus.de/ is empty if HTML filter is acitve, it is displayed correctly with deactivated HTML filter. The domain check says
Result for »www.flixbus.de« • No CSP header found • No Service Worker found • No integrity or crossorigin attributes found
Many thanks for the report 👍
I can reproduce this error. It was caused because the regular expression did not mark the first charset tag (
utf-8), but the second one (
<!DOCTYPE html><html lang="de"><head><meta charSet="utf-8"/>....background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'
This tells the TextDecoder to use
utf-8,%3Csvg as the charset. This fails and as a result the HTML source code cannot be written back into the browser tab.
It has been fixed by checking the detected charset and if there is no match UTF-8 will be used.
Deleting a branch is permanent. It CANNOT be undone. Continue?