You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In config/packages/dev/nelmio_security.yaml I'm trying to override hash (which keeps me from using unsafe-inline on my dev environment where I test and have some inlined event handlers).
Thus I use
nelmio_security:
csp:
hash: {}
(and other similar syntax).
Still, no way to disable it.
Worst, since {% cspscript %} are in the templates, even dropping hash from the main config/packages/nelmio_security.yaml is not enough (as it keeps sending sha256-* to the browser).
I think computeForScript should take the configuration into consideration.
The text was updated successfully, but these errors were encountered:
In
config/packages/dev/nelmio_security.yaml
I'm trying to overridehash
(which keeps me from usingunsafe-inline
on my dev environment where I test and have some inlined event handlers).Thus I use
(and other similar syntax).
Still, no way to disable it.
Worst, since
{% cspscript %}
are in the templates, even droppinghash
from the mainconfig/packages/nelmio_security.yaml
is not enough (as it keeps sendingsha256-*
to the browser).I think
computeForScript
should take the configuration into consideration.The text was updated successfully, but these errors were encountered: