Web interface renders incorrectly due to CSP in Firefox
Versions
- Pi-hole: v6.0.5
- AdminLTE: v6.0.2
- FTL: v6.0.4
Platform
- OS and version: NixOS 24.11 (Vicuna)
- Platform: Podman
Expected behavior
Web interface renders correctly in Firefox
Actual behavior / bug
The web interface looks broken on Firefox with a lot of CSP violations in console
Content-Security-Policy: Ustawienia strony zablokowały zastosowanie wbudowanego stylu (style-src-attr), ponieważ narusza on następującą dyrektywę: „default-src 'self' 'unsafe-inline' 'nonce-bW96LWV4dGVuc2lvbjovL2U3ZTI5MGNkLWFmMjItNDE3Yi1hNmU4LWRhMGY3ODE3ZDU4Ni8='”
Sorry for Polish, but I don't know how to change web developer tools language only.
Surprisingly, it works in Chrome
Debug Token
- URL: https://tricorder.pi-hole.net/fne70a5j
Screenshots
This seems to be a browser issue.
Disable all your browser extensions and try again. Does this fix the issue?
What version of Firefox are you using? Do you use any browser plugins? Does it render correctly in incognito mode?.
@yubiuser It doesn't, but I created a new profile, and it did work, so I suspect that @rdwebdesign is correct and it's an extension problem.
I did disable Bitwarden in private mode and it worked. Perhaps it's Bitwarden extension mucking up stuff
It was Metamask for me
Also Metamask here
Metamask +1
This seems to be related to https://github.com/MetaMask/metamask-extension/issues/31094