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

Preserve order of mapped cross-origin config path entries from config; add test (3.x) #4431

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Preserve order of mapped cross-origin config path entries from config; add test (3.x) #4431

merged 1 commit into from
Jun 23, 2022

Conversation

tjquinno
Copy link
Member

Resolves #4407 for 3.x.

We should, and our documentation says that we do, apply CORS settings in the order in which they are declared in config. But we didn't.

Using a LinkedHashMap instead of a HashMap resolves this.

Signed-off-by: [email protected] [email protected]

@tjquinno tjquinno merged commit d7a0afd into helidon-io:master Jun 23, 2022
@tjquinno tjquinno deleted the cors-order-bug-3.x branch June 23, 2022 20:19
@tjquinno tjquinno modified the milestones: 3.0.0, 3.0.0-M3 Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants