Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-191

double slash in Conversation test urls break redirect

    XMLWordPrintable

Details

    Description

      The Conversation tests all call AbstractConversationTest.getPath() with strings starting with / such as /storm.jspx. Since the method tacks a / at the end of the context root you end up with urls for the form foo//bar.jsf. While tomcat appears to think that this is the same url as foo/bar.jsf, jetty doesn't. This breaks the redirect in LongRunningConversationPropagatedByFacesContextTest.testConversationPropagatedOverRedirect.

      Removing the / from the arguments to getPath fixes the problem.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            djencks David Jencks (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty