spring-security/web
Zhivko Delchev e97c5a533b Reverse content type check
When MultipartFormData is enabled currently the CsrfWebFilter compares
the content-type header against MULTIPART_FORM_DATA MediaType which
leads to NullPointerExecption when there is no content-type header.
This commit reverse the check to compare the MULTIPART_FORM_DATA
MediaType against the content-type which contains null check and avoids
the exception.

closes gh-11204
Closes gh-11205
2022-06-06 15:47:35 -05:00
..
src Reverse content type check 2022-06-06 15:47:35 -05:00
spring-security-web.gradle javax.xml.bind:jaxb-api -> jakarta.xml.bind:jakarta.xml.bind-api 2022-01-19 15:32:12 -06:00