Explain the changes included in this request and the reasons for them.
I have added a new jaxrs filter that will check to see if the request is a correctly formatted URI and if it is not it will short circuit the request and return a 400 status code.
I have also updated the JSON field filtering logic to only apply the filter when the request is successful.
How was it tested?
I integrated these changes into a service I own and tested that when a 400 was responded instead of a 500
What was changed? Why is this necessary?
I have added a new jaxrs filter that will check to see if the request is a correctly formatted URI and if it is not it will short circuit the request and return a 400 status code. I have also updated the JSON field filtering logic to only apply the filter when the request is successful.
How was it tested?
How to test
./mvnw clean install -U