-
Notifications
You must be signed in to change notification settings - Fork 49
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
spring boot 3.2.3: umlaut encoding issue? #99
Comments
reproducer https://github.com/resmo/spring-boot-3.2.3-demo-htmx-umlauts The issue only shows up in 3.2.3 with this |
seems the issue does no show if the browser content language is set to "english". I tested with german or german (switzerland) |
it seems related to spring framework 6.1.4 (not spring boot). But the thing is, I only see it using htmx-spring-boot, not "normal" thymeleaf responses and mentioned before, if accept language header is de (!= en). Do you have a clue? |
Could you please provide the request and response headers for both the direct request and the htmx request! |
HTMXspring framework 6.1.3 (works as expected)request
response
spring framework 6.1.4 (broken)
response
Not-HTMXspring framewor 6.1.3 (works)request
response
spring framewor 6.1.4 (broken)request
response
|
there is currently a analysis of a regression going on in spring-projects/spring-framework#32317 which might be related |
We've pushed a fix for Spring Framework 6.1.x. See spring-projects/spring-framework#32317 (comment) for details. |
closing, the fix pushed Spring Framework 6.1.x. worked for me! |
Summary
I am experiencing an issue I only see with htmx responses that is why I open the issue here, but it might be a spring boot 3.2.3 issue.
After switching form spring boot 3.2.2 to 3.2.3 I see broken "umlauts".
Response header looks fine, content "looks" identical but the weird thing is that the content length is different, off by 1 B (3.2.3 has -1 B). Unsure if this is the issue.
Spring Boot
3.2.3
Details
3.2.3
3.2.2
The text was updated successfully, but these errors were encountered: