Skip to content

chore(stirling-pdf): Tighten CSP policy - #224

Merged
ElioDiNino merged 1 commit into
mainfrom
chore/stirling-pdf
Jul 8, 2026
Merged

chore(stirling-pdf): Tighten CSP policy#224
ElioDiNino merged 1 commit into
mainfrom
chore/stirling-pdf

Conversation

@ElioDiNino

Copy link
Copy Markdown
Owner

Less dependencies are required now that more things are bundled into the app

Less dependencies are required now that more things are bundled into the
app
Copilot AI review requested due to automatic review settings July 8, 2026 08:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens the Content Security Policy (CSP) headers applied to the Stirling PDF service via its Caddy label configuration, reducing allowed external origins in line with the intent to rely less on third-party resources.

Changes:

  • Removed external connect-src allowances for Iconify and jsDelivr.
  • Restricted font-src and style-src to self-hosted resources only (keeping inline styles allowed).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ElioDiNino
ElioDiNino merged commit d1ef2f5 into main Jul 8, 2026
3 checks passed
@ElioDiNino
ElioDiNino deleted the chore/stirling-pdf branch July 8, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants