• Scott Frederick's avatar
    Disable exception details on default error views · 70d49945
    Scott Frederick authored
    Prior to this commit, default error responses included the message
    from a handled exception. When the exception was a BindException, the
    error responses could also include an errors attribute containing the
    details of the binding failure. These details could leak information
    about the application.
    
    This commit removes the exception message and binding errors detail
    from error responses by default, and introduces a
    `server.error.include-details` property that can be used to cause
    these details to be included in the response.
    
    Fixes gh-20505
    70d49945
Name
Last commit
Last update
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...