-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Description
Affects: \5.3.2
There is an interoperability issue with the new AsyncServerResponse
and routing functions. I tried to create a test in the webmvc project, but I'm afraid I don't know the framework well enough to reproduce it there.
Instead there is a reproduction using springboot, with all the latest greatest spring, and webmvc is managed to 5.3.2-snapshot.
spring-webmvc-interop-bug
when routing a request that has path variables, we get routed correctly, and get to a function that returns a ServerResponse.async
response, but during the handling of the response, the routing function is called again, and we get an exception org.springframework.web.util.pattern.PatternParseException: Not allowed to capture 'pathVariable' twice in the same pattern
This does not happen if the response is a non async ServerResponse.