Skip to content

The script doesnt work when csp is enabled #46

@Doekos

Description

@Doekos

I would like to have the option to add a nonce to the script tag without having to override classes.

I've tried overriding the CookiesManager getDefaultScriptTag function to add a nonce, however for some reason I keep getting the $this->shouldDisplayNotice() as true when the Cookie is in my Storage with 'consent_at' filled.

But when I make these changes in the vendor file, it's working.

Any ideas/suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions