Skip to content

Contao 5.3 mit CSP #31

Description

@webwerkwien

Hallo. Aktiviert man CSP in Contao 5.3 entspricht das Modul nicht der Richtlinie.

Das Problem lässt sich leicht beheben, wenn man im Template
mod_mobile_menu.html5
das Javascript wie folgt aufruft:
<script <?= $this->attr()->setIfExists('nonce', $this->nonce('script-src')) ?>>

Quelle:
https://docs.contao.org/dev/framework/csp/

Liebe Grüße!

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