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

Last-Modified header is garbled when accessing wadl document on Japanese locale #5698

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

vavishal
Copy link
Contributor

Last-Modified header is garbled when accessing wadl document on Japanese locale

Also calling javax.ws.rs.core.Response.getLastModified() on Japanese locale throws "org.glassfish.jersey.message.internal.HeaderValueException: Unable to parse "Last-Modified" header value:"

So, Locale.US was added as default locale in the fix

The testcase also exists at jersey/tests/e2e-server/src/test/java/org/glassfish/jersey/tests/e2e/server/wadl/WadlResourceTest.java

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

@jbescos jbescos requested review from jbescos, jansupol and senivam July 16, 2024 05:17
Copy link
Member

@jbescos jbescos left a comment

Choose a reason for hiding this comment

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

LGTM

@jbescos jbescos merged commit c97f944 into eclipse-ee4j:2.x Jul 16, 2024
7 checks passed
@senivam senivam added this to the 2.44 milestone Jul 16, 2024
senivam pushed a commit to senivam/jersey that referenced this pull request Jul 25, 2024
…ese locale (eclipse-ee4j#5698)

* Last-Modified header is garbled when accessing wadl document on Japanese locale
Signed-off-by: Vaibhav Vishal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants