Skip to content

v1.82.2

Choose a tag to compare

@MichaelSowah MichaelSowah released this 07 Sep 18:21
· 76 commits to main since this release
981d0a5

[1.82.2] - 2026-09-07 — Alnasl

Fixed

  • A mounted SPA's index.html gets a document CSP, not the static-asset one.
    SpaMountController applied SecurityHeaders::defaultStaticAssetHeaders() — whose
    style-src 'self' forbids inline styles — to the HTML document too. A built front-end
    injects style elements at runtime (component libraries apply their theme that way), so the
    admin rendered with those styles stripped: a primary button with no background, on every
    served admin in every environment. index.html now carries
    SecurityHeaders::defaultDocumentHeaders() (style-src 'self' 'unsafe-inline', img-src
    with data:/blob:, scripts still self-only); assets keep the strict set. serveFrontend()
    accepts a csp option to override the document policy per mount.