-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed as not planned
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another
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
ShShavarsh
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another

