-
Notifications
You must be signed in to chang 8000 e notification settings - Fork 8
Routing Exceptions might induce Spring whitelabel error page #530
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
Comments
That is not the whitelabel error page but the tomcat error page, and is served by tomcat outside the application. |
Including additional information for future reference and general insight. The following open issue in the Spring project discusses this very same problem spring-projects/spring-boot#21257 It appears that Spring does not offer any configuration for |
Yes, as far as I know that is the only way. If you want to, try it in a branch. |
If information discolsure is the primary concern, it appears that the Spring application property |
closed with #536 |
Some exceptions might induce some amount of information discolusure or in general provides an undesirable user experience due to the default that they trigger a default or whitelabel error page.
As far as I know, this behaviour was only discovered when making malfored requests. For example the following page is returned when making a request to
/console/dev/realms/system/users?{
due to the fact that it contains the character{
.The text was updated successfully, but these errors were encountered: