-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
RoutingHandler routing = Handlers.routing()
.get("/
.post("/{param2}", ResponseCodeHandler.HANDLE_200); // throws!
java.lang.IllegalStateException: UT000071: Cannot add path template /{param2}, matcher already contains an equivalent pattern /{param1}
at io.undertow.util.PathTemplateMatcher.add(PathTemplateMatcher.java:110)
at io.undertow.util.PathTemplateMatcher.add(PathTemplateMatcher.java:151)
at io.undertow.server.RoutingHandler.add(RoutingHandler.java:129)
If both registrations use the same parameter name, it works fine. Because the parameters are named differently the check in RoutingHandler:128 doesn't skip registration with allMethodsMatcher as it would otherwise.
- is incorporated by
-
JBEAP-17631 [GSS](7.2.z) Upgrade Undertow from 2.0.25.SP1 to 2.0.26.SP3
- Closed
-
WFCORE-4641 Upgrade Undertow to 2.0.26.Final
- Closed