Closed as not planned
Description
With the upgrade to Spring Boot 3.2.0-RC2 I think there is the following regression bug:
When a user visits an application, with ProblemDetail support enabled, with a browser and asking for HTML, then Spring should return the standard HTML error page instead of returning a ProblemDetail JSON or XML when static resource does not exist.
This would particularly be important for applications that both serve a browser frontend as well as a REST API.
- Spring Boot 3.1.5
- Spring Boot 3.2.0-RC2
Related issues:
- Improve 404 error handling in Spring MVC #29491
- 404 on static resource does not return ProblemDetail response #30930
NOTE: Attached is an example
sb3-rest-webmvc.zip