tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Packages: web/parts takes the request's nonce, and the swap script goes in once

parts.Settings gains `nonce`, and parts.respond uses it instead of
making its own, so one request has one nonce: the app's, in the page,
the policy and the streamed page's script alike. swap.opened leaves a
head that already holds `swap.script nonce` as it is, so an app can put
the script in every page (htmx's hx-csp wants a nonced script on each),
and with_script_nonce keeps a policy that allows the nonce already.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 57cb2ac07c9ab7655110ee376cf833e9e11cf2f5

Parents d98e867

9 fichiers modifiés, 154 ajouts, 32 suppressions