Skip to content

Add support for CSP nonces #296

@mvriel

Description

@mvriel

In the twig template, inline scripts and styles are used, this can conflict with CSP setups (for example with Nelmio Security Bundle: https://github.com/nelmio/NelmioSecurityBundle#content-security-policy).

Would it be possible to generate nonces and add these, or to change the twig template to inject nonces?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions