Skip to content

[fix] fix align cors configuration with header based authentication - #4267

Open
Duansg wants to merge 2 commits into
apache:masterfrom
Duansg:cors-allow-credentials-fix
Open

[fix] fix align cors configuration with header based authentication#4267
Duansg wants to merge 2 commits into
apache:masterfrom
Duansg:cors-allow-credentials-fix

Conversation

@Duansg

@Duansg Duansg commented Jul 29, 2026

Copy link
Copy Markdown
Member

What's changed?

Cross-origin access itself is unchanged: origins stay open and preflight requests are still answered, so no working request is affected.

Added a unit test that drives the real filter and asserts both halves — credentials are not allowed, and the preflight still succeeds.

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant