Skip to content

Review and update CSP and remove inline styles #256

Draft
morrisscd wants to merge 3 commits into
mainfrom
882-ITHC-missing-or-misconfigured-http-security-headers
Draft

Review and update CSP and remove inline styles #256
morrisscd wants to merge 3 commits into
mainfrom
882-ITHC-missing-or-misconfigured-http-security-headers

Conversation

@morrisscd

@morrisscd morrisscd commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Description

Updated/reviewed Content security policy including:

  • Removal of 'unsafe inline' stlye references and associated inline styles

  • Creation of a production only CSP

Removed unused CSP references including:

Moved the following local development references out of the production CSP

Related Trello Ticket

https://trello.com/c/ucBNGw5I/882-ithc-m-missing-or-misconfigured-http-security-headers

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • Tested on [Environment: Review app/Local]

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have verified accessibility requirements are met

@morrisscd morrisscd added the deploy deploy application label Jun 22, 2026
@github-actions

Copy link
Copy Markdown

Code Coverage Report: Only Changed Files listed

Package Coverage
Overall Coverage 🟢 77.4%

Minimum allowed coverage is 0%, this run produced 77.4%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy deploy application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant