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

MockHttpServletResponse - handle multiple values for Content-Language header #34491

Closed
github-actions bot opened this issue Feb 25, 2025 · 1 comment
Closed
Assignees
Labels
in: test Issues in the test module type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Milestone

Comments

@github-actions
Copy link
Contributor

Backport of gh-34488

@github-actions github-actions bot added in: test Issues in the test module type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug labels Feb 25, 2025
@github-actions github-actions bot added this to the 6.1.18 milestone Feb 25, 2025
@bclozel bclozel self-assigned this Feb 25, 2025
bclozel added a commit that referenced this issue Feb 25, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Prior to this commit, `MockHttpServletResponse` would only support
adding a `Content-Language` once. Adding multiple header values would
always replace the content-language property in the response and the
entire header value.

This commit ensures that this behavior is supported.

Fixes gh-34491
Copy link
Contributor Author

Fixed via c02d07f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant