Integration
sentry
Java Version
21
Version
8.27.0
Steps to Reproduce
- Create a minimal Spring Boot MVC application and include
sentry-spring-boot-starter-jakarta (or just use this one)
- Define a
sentry.max-request-body-size=medium value
curl -X POST --header "Content-Type: invalid" --location "http://localhost:8080/demo" --data "{}"
- See that a 500 is returned because SentrySpringFilter fails to parse the content-type header
Expected Result
The request to go through the Sentry filter and for downstream filters / wtv... to handle the decision if the reported body format is an acceptable one.
Actual Result
The filter throws an exception -> 500 error.