Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Add support for CSP nonces #296

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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