-
Bug
-
Resolution: Done
-
Critical
-
warp_1.0.0.Alpha2
-
None
canDelegate use request.getServletPath to check if the current request match a given path.
The problem is, pr spec, getServletPath is a empty String when Servlet is mapped to /*, and in this case it's just a Filter. Both getServletPath and getPathInfo are bound to a Servlet.
getServletPath works in JBoss AS 7.1.1, but not in WildFly 8.
getServletPath works in WildFly 8, but not in JBoss AS 7.1.1.
The correct check seems to be:
getRequestURI().endsWith(COMMAND_EVENT_BUS_MAPPING)