From c718fe06de97e0c540685f06b7ac9ca560df6a64 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 1 Oct 2026 10:41:39 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20A20=20(partiel)=20=E2=80=94=20CSP=20nonc?= =?UTF-8?q?e=20par=20requ=C3=AAte,=20unsafe-inline=20sort=20de=20script-sr?= =?UTF-8?q?c=20(v7.7.0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ContentSecurityPolicyMiddleware : nonce aléatoire par requête dans la ContextVar `CSP_NONCE` (posée avant `call_next` → visible des templates), `script-src 'self' 'unsafe-eval' 'nonce-…'` — plus aucun script inline sans nonce ne tourne (fin des XSS injectés en JS) - 38 tags ` - - +
@@ -142,7 +142,7 @@
- - - @@ -790,7 +793,7 @@ - - {# ─── PWA: sync badge + toasts wiring (v6.0.0) ─── #} - - +
+ + {% endblock %} {% block scripts %} {% include '_page_editor_scripts.html' %} diff --git a/app/templates/public_page.html b/app/templates/public_page.html index aa6be99..9f9f29c 100644 --- a/app/templates/public_page.html +++ b/app/templates/public_page.html @@ -173,7 +173,7 @@ -