Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1396

CommandEventBusService use wrong metadata to match Request URI

    XMLWordPrintable

Details

    Description

      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)

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: