Remove Default Page for invalid requests

For some requests (e.g. invalid ports, invalid paths, ...) we display spring's default error page. This includes stack traces and might cause information leakage. We must change spring's configuration to display a custom error to not leak information.

  1. check whether this can be reproduced on dev / prod (right now this was just observed locally
  2. change behavior to custom errors if needed

Bild

Edited by Jan-Niclas Strüwer