Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add comments to help explain usages of the various CSP declarations #991

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

labkey-ians
Copy link
Contributor

-- Note: comments are removed during application execution, so they do not appear in the Response Header

Rationale

Add comments to the CSP

Changes

  • add explanatory comments to the CSP declarations

-- Note: comments are removed during application deployment
Copy link
Member

@labkey-tchad labkey-tchad left a comment

Choose a reason for hiding this comment

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

Not quite sure the point of these comments. One can look at any CSP documentation to find out what the directives mean.
It would be more useful to have comments explaining why the various directives have these settings. (e.g. why is object-src totally locked out)

@labkey-ians labkey-ians merged commit 3909ce7 into develop Feb 19, 2025
5 checks passed
@labkey-ians labkey-ians deleted the fb_cspComments branch February 19, 2025 00:01
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