Comments (14)
Thanks, Sam. To avoid duplicating effort, I'll close this one again for now. Let us know how this afternoon's investigation goes. We can re-open this one again if needed.
from spring-boot.
@sbrannen spring-core-6.1.5-20240226.173247-18.jar fixes the issue, umlauts are shown correctly (content-length size is as it was in 6.1.3)
Thanks!
from spring-boot.
This is unlikely to be an issue in Spring Boot itself, but it could be caused by a dependency upgrade that we manage. I would suspect Spring Framework or Tomcat would be the most likely candidates.
@resmo Do you have a small reproducer project that you can provide? This might help us identify what's changed.
from spring-boot.
I created a reproducer and can say, that I am only able to reproduce it in 3.2.3 using the helper library io.github.wimdeblauwe
-> htmx-spring-boot
reproducer repo https://github.com/resmo/spring-boot-3.2.3-demo-htmx-umlauts
from spring-boot.
See wimdeblauwe/htmx-spring-boot#99
from spring-boot.
@resmo I've tried your reproducer, and I see the umlauts when clicking on both links regardless of the Spring Boot version. I've tested it in Chrome and Firefox, running the app with ./mvnw spring-boot:run
or java -jar target/repro-0.0.1-SNAPSHOT.jar
. Are there additional instructions for running the app that you can provide?
Also, can you try setting the property <spring-framework.version>6.1.3</spring-framework.version>
in the <properties>
section of your pom.xml
when building against Spring Boot 3.2.3? Framework was upgraded from 6.1.3 to 6.1.4 between Boot 3.2.2 and 3.2.3, so forcing the downgrade with Boot 3.2.3 would help narrow down the root of the problem.
from spring-boot.
I've tried your reproducer, and I see the umlauts when clicking on both links regardless of the Spring Boot version. I've tested it in Chrome and Firefox, running the app with
./mvnw spring-boot:run
orjava -jar target/repro-0.0.1-SNAPSHOT.jar
. Are there additional instructions for running the app that you can provide?
very interesting: you did everything the way I did, but as it seems the issue is related to the language setting in the browser: if I change the default language to "english", all umlauts look good. If I change it to "german" or "german (switzerland)", I see the issue.
tested in chromium, firefox on linux and firefox on mac
adding <spring-framework.version>6.1.3</spring-framework.version>
to properties in pom does "fix" the issue
I browsed through the list of issues and noticed spring-projects/spring-framework#32317 which looks suspicious. I try to test the snapshot of 6.1.5 once it is available.
from spring-boot.
Thanks for the follow-up @resmo. I will close this issue, as it doesn't appear that Spring Boot is the cause.
from spring-boot.
I browsed through the list of issues and noticed spring-projects/spring-framework#32317 which looks suspicious. I try to test the snapshot of 6.1.5 once it is available.
@resmo, please note that 6.1.5-SNAPSHOT
builds for Spring Framework are already available.
See spring-projects/spring-framework#32317 (comment) for details.
Feedback is welcome!
from spring-boot.
@scottfrederick Thanks for your time.
@sbrannen I tested with spring-core-6.1.5-20240225.154205-16.jar but unfortunately it doesn't resolve the issue.
from spring-boot.
Re-opening to continue the investigation. The problem reminds me a little of #32472 and #32472 (comment) in particular. However, unless Tomcat changed its mappings in a maintenance release, I wouldn't expect to see the described change in behavior.
from spring-boot.
@wilkinsona let me know if I can help, to me it looks related to accept-language header somehow
from spring-boot.
Andy, I think it might be due to the fact that the content type is now cached.
See the analysis from a user in the linked Framework issue which I’ll investigate this afternoon.
from spring-boot.
We've pushed a fix for Spring Framework 6.1.x.
See spring-projects/spring-framework#32317 (comment) for details.
from spring-boot.
Related Issues (20)
- Upgrade to R2DBC MariaDB 1.2.0
- Upgrade to WebJars Locator Core 0.58
- spring-boot-maven-plugin doesn't work with Java 22 HOT 5
- Ease the creation of multiple task executor and task scheduled builders HOT 4
- Document bootRun task generation HOT 2
- Random NoSuchBeanDefinitionException during ResetMocksTestExecutionListener.resetMocks() execution HOT 5
- Jetty embedded web server includes a JNDI initial context when other servers do not HOT 1
- Upgrade to Neo4j Java Driver 5.18.0
- spring-boot-maven-plugin doesn't work with Java 22
- Upgrade to Neo4j Java Driver 5.18.0
- Upgrade to Neo4j Java Driver 5.18.0
- Upgrade CI to Docker 25.0.4
- Upgrade CI to Docker 25.0.4
- Upgrade CI to Docker 25.0.4
- After upgrading Spring Boot from 3.1.5 to 3.2.0 properties from application.properties are missing HOT 8
- When graceful shutdown of Tomcat is aborted it may report that it completed successfully HOT 1
- Multiple spring boot applications lead to BeanDefinitionOverrideException HOT 3
- Spring Config does not use environment conversion service on resolved properties HOT 1
- spring-boot-dependencies cannot be used with repositories that ban com.oracle.database.jdbc:ojdbc-bom
- Spring Boot Native executable not logging (and then exiting immediately) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.