Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions redocly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ responseHeaders:
base-uri 'self';
connect-src
'self'
https://*.redocly.com

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The wildcard *.redocly.com is overly broad. Since the PR objective is to unblock cors.redocly.com, restrict it to that specific subdomain to follow the principle of least privilege and reduce exfiltration risks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Don't see problem to open all our subdomains here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This change in the global ** section likely won't fix the editor issue. The /editor path has its own CSP policy (line 281) which will continue to block requests to cors.redocly.com.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is fixed.

https://webhook.frontapp.com
https://j.clarity.ms/*
https://api.github.com
Expand Down
Loading