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

Fix invalid culture on delivery api request #17486

Merged

Conversation

Migaroez
Copy link
Contributor

Fixes #17476

Since the underlying code expects null, * or a valid culture, I found it best to handle this in the Delivery api code that determines what culture was set on the request.

###Testing
Check the reproduction steps in the linked issue, but be sure to either run raw curl commands or run it trough postman as the swagger UI adds language headers to the request. And don't forget to test the negatives either 😉

Copy link
Contributor

@nikolajlauridsen nikolajlauridsen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@nikolajlauridsen nikolajlauridsen merged commit b927f03 into release/15.0 Nov 11, 2024
13 of 15 checks passed
@nikolajlauridsen nikolajlauridsen deleted the v15/hotifx/delivery-api-empty-string-culture branch November 11, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants