sudhanshu.b → changed the visibility of the branch 3478719-call-to-a to active.
@gapple I tried uninstalling - reinstalling the module version 2.2.2 using drush for the website, as well as using composer. But saw no improvement. The issue still persists.
My database contains this under csp.settings in hex format.
{
"_core": {
"default_config_hash": "hRfZ8Hy0OO_H_xuVoHK6yrwiNH3bSgtmzUvg46YVHJ0"
},
"enforce": false,
"report": {
"handler": "csp-module"
}
}
I have tried installing CSP version 8.x-1.40, which seems to work as expected and has the following csp.settings:
{
"_core": {
"default_config_hash": "hRfZ8Hy000_H_xuVoHK6yrwiNH3bSgtmzUvg46YVHJ0",
"enforce": False,
"report": {
"handler": "csp-module"
}
},
"report-only": {
"enable": False,
"directives": {
"script-src": {"base": "self"},
"script-src-attr": {"base": "self"},
"script-src-elem": {"base": "self"},
"style-src": {"base": "self"},
"style-src-attr": {"base": "self"},
"style-src-elem": {"base": "self"},
"frame-ancestors": {"base": "self"}
},
"reporting": {"plugin": "none"}
},
"enforce": {
"enable": False,
"directives": {
"script-src": {"base": "self"},
"script-src-attr": {"base": "self"},
"script-src-elem": {"base": "self"},
"style-src": {"base": "self"},
"style-src-attr": {"base": "self"},
"style-src-elem": {"base": "self"},
"frame-ancestors": {"base": "self"}
},
"reporting": {"plugin": "none"}
}
}
However, we prefer to use the latest version (^2.0). Could I be missing certain steps when installing CSP? Or it would be because of certain other dependencies?
Thanks.
sudhanshu.b → changed the visibility of the branch 3478719-call-to-a to hidden.
sudhanshu.b → changed the visibility of the branch 3478719-call-to-a to hidden.
I am facing the same issue
I am on drupal.core: 11.1.6, drupal/csp: 2.2.2
The screenshot below shows my configuration object.
Where would I find the said properties?
csp.settings:enforce.reporting
csp.settings:report-only.reporting
I am facing the same issue.
I am on Drupal: 11.1.6, CSP: 2.2.2
The screenshot attached shows my configuration object.
Under which object would I find the following settings
csp.settings:enforce.reporting
csp.settings:report-only.reporting
Please let me know, if you need more information.
Thanks