Skip to content

Conversation

@shgysk8zer0
Copy link
Member

Refactored csp.js to use named constants for CSP directives, added support for additional directives (base-uri, form-action, frame-ancestors), and improved flexibility for trusted types. Updated http.config.js to dynamically add script sources and trusted type policies, and to use the new CSP configuration in response postprocessors.

Description and issue

Please add relevant sections (Added, removed, changed, fixed) to CHANGELOG.md

List of significant changes made

Refactored csp.js to use named constants for CSP directives, added support for additional directives (base-uri, form-action, frame-ancestors), and improved flexibility for trusted types. Updated http.config.js to dynamically add script sources and trusted type policies, and to use the new CSP configuration in response postprocessors.
@shgysk8zer0 shgysk8zer0 added the enhancement New feature or request label Dec 10, 2025
@shgysk8zer0 shgysk8zer0 self-assigned this Dec 10, 2025
@shgysk8zer0 shgysk8zer0 merged commit 187c4e4 into master Dec 10, 2025
4 checks passed
@shgysk8zer0 shgysk8zer0 deleted the feature/more-directives branch December 10, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants