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

enhancement: Load CSP configuration file if it exists #10139

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

fschade
Copy link
Contributor

@fschade fschade commented Sep 23, 2024

Description

The Content Security Policy (CSP) configuration file is now loaded by default if it exists.
The configuration file looked for should be located at $OCIS_BASE_DATA_PATH/proxy/csp.yaml.
If the file does not exist, the default CSP configuration is used.

Related Issue

Types of changes

  • 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 change)
  • Technical debt
  • Tests only (no source changes)

@fschade fschade force-pushed the csp-conf-auto-loading branch from 2a9859d to 349a251 Compare September 23, 2024 14:31
Copy link

@fschade fschade merged commit c1050c4 into owncloud:master Sep 24, 2024
3 checks passed
ownclouders pushed a commit that referenced this pull request Sep 24, 2024
enhancement: Load CSP configuration file if it exists
@kulmann
Copy link
Contributor

kulmann commented Sep 24, 2024

Thank you @fschade ❤️

@micbar micbar mentioned this pull request Oct 1, 2024
18 tasks
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.

csp.yaml not picked up automatically
3 participants