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!
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!