Repository navigation
relax CORS policy for read-only endpoints - #630
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #630 +/- ##
==========================================
+ Coverage 81.41% 81.65% +0.24%
==========================================
Files 85 86 +1
Lines 6048 6134 +86
Branches 771 780 +9
==========================================
+ Hits 4924 5009 +85
Misses 892 892
- Partials 232 233 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
elfkuzco
force-pushed
the
public-endpoints-cors-policy
branch
from
November 3, 2026 08:08
86b125c to
16b3c56
Compare
elfkuzco
force-pushed
the
public-endpoints-cors-policy
branch
from
November 3, 2026 08:33
16b3c56 to
9cac740
Compare
benoit74
approved these changes
Nov 3, 2026
benoit74
left a comment
Contributor
There was a problem hiding this comment.
One minor point, I let you decide and then you can merge on your own.
elfkuzco
force-pushed
the
public-endpoints-cors-policy
branch
from
November 4, 2026 00:12
9cac740 to
53c3cd7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
This PR enhances the API to allow public and unauthenticated GET/HEAD endpoints to be read from any origin while keeping endpoints behind a permission or state-changing routes behind the standard CORS policy
Changes
@cors_public) to explicitly mark endpoints as public and read-onlyThis closes #611