Skip to content

Develop#487

Merged
neue-dev merged 29 commits into
mainfrom
develop
Jun 11, 2026
Merged

Develop#487
neue-dev merged 29 commits into
mainfrom
develop

Conversation

@neue-dev

Copy link
Copy Markdown
Contributor

No description provided.

neue-dev and others added 29 commits June 6, 2026 16:34
Added Content Security Policy to restrict what content can be loaded.
Highly experimental and things may break.
Fixed an issue where PDFs were not rendering because of the CSP.
Loosened it a bit to allow this.
The JSPDF library version we're using has a lot of security issues.
Potentially breaking update; we should test all the PDF features on the
site.
Patched several more issues:
- Added several security headers:
  - HTTP Strict Transport Security to enforce HTTPS/TSL communication.
- `X-Frame-Options` deny to prevent site from being loaded in an
`<iframe>` or similar tag.
  - `X-Content-Type` nosniff to prevent MIME sniffing.
- `Referrer-Policy` strict origin when cross origin to send less info on
cross-origin
  - `Permissions-Policy` to empty to enforce no web permissions granted.
- Updated `postcss` library. (potentially breaking change)
- Clear query client on logout for hire and student sites.
Loosened CSP policy to accommodate various uses of unsafe-inline styling
throughout the site. This should be removed in the future.
Form previews were not working. Loosened CSP to allow CloudFlare's PDF
lib through.
@neue-dev neue-dev merged commit 882eac7 into main Jun 11, 2026
1 check passed
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.

3 participants