• 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
..
src Loading commit data...
build.gradle Loading commit data...