-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline violated CSP script-src #3340
Comments
I believe this is not actually a zoneminder problem, but is caused by an extension. In my case the Plasma Integration causes it. |
Okay, I now know which extension causes it, and it's one that I use heavily... so what are the options? The only way to stop zoneminder logging errors is to completely disable that extension, which isn't a workable solution for me. Can zoneminder just not log moz-extension CSP errors, so that then I don't have to set the logging level to "fatal" to prevent excess noise in the ZM logs? I've hacked the ZM javascript to do this, so it is possible, so the question is more whether it's desirable? Thanks. |
I think that's what we need to do. Have a config option to turn off CSP reporting. Should be easy. Out of curiosity, which extension causes it for you? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I found two extensions that cause it for me
|
I'm seeing similar errors with Safari on Mac when Evernote browser Extension is in use (ZM v1.36.24):
|
Describe Your Environment
Version of ZoneMinder [release version, development version, or commit]
1.36.3
(Unable to use 1.36.5 due to bug Capture daemon being restarted by zmwatch #3271)
How you installed ZoneMinder [e.g. PPA, RPMFusion, from-source, etc]
From github Source + Debian buster .dsc and debian tarball on zmrepo
Full name and version of OS
Linux 5.13 aarch64
Debian Buster apache
Browser name and version (if this is an issue with the web interface)
Frefox 91.0.2
Describe the bug
CSP errors being logged
To Reproduce
Steps to reproduce the behavior:
Expected behavior
CSP not violated
Debug Logs
The text was updated successfully, but these errors were encountered: