Skip to content

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 vaibhav.vishal@oracle.com

vavishal added 2 commits July 15, 2024 09:13
…ese locale

Signed-off-by: Vaibhav Vishal <vaibhav.vishal@oracle.com>
…ese locale

Signed-off-by: Vaibhav Vishal <vaibhav.vishal@oracle.com>
@jbescos jbescos requested review from jansupol, jbescos 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
@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 <vaibhav.vishal@oracle.com>
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