You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See spring-cloud/spring-cloud-gateway#1111. We should make our predicate more robust by returning false for a malformed mime type in the Content-Type header rather than throwing an exception.
The text was updated successfully, but these errors were encountered:
This got me thinking if this should be done for Jetty, Undertow etc. as well, @wilkinsona ? I'm asking because out of interest I was working on a fix as well, but Jetty seems to hang indefinitely - for reasons that I can't explain yet. Can be reproduced by moving the new test from NettyReactiveWebServerFactoryTests to AbstractReactiveWebServerFactoryTests. Tomcat seems to work out of the box, Undertow seems to work despite having the same MimeType parsing as Netty in UndertowCompressionConfigurer. Might be worth a look?
While I was working on the fix I also tried this for the servlet based tests and got them to run with similar changes as in 3d23277. Is it worth sharing a PR for the servlet based stuff at least?
See spring-cloud/spring-cloud-gateway#1111. We should make our predicate more robust by returning false for a malformed mime type in the
Content-Type
header rather than throwing an exception.The text was updated successfully, but these errors were encountered: