Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1343

Under Tomcat, a root path URL such as http://.../context (without a trailing slash) causes a StringIndexOutOfBoundsException inside PageRenderDispatcher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.3
    • 5.0.3
    • None
    • None
    • linux, tomcat4 ("connected" to apache1.3 via modjk), java 1.5

    Description

      PageRenderDispatcher.dispatch assumes that request.getPath() will always return at least "/". However, it is possible with tomcat for getPath() to return an empty string.
      http://www.foo.com/context will return an empty string in tomcat (not in jetty).

      Attachments

        1. TAPESTRY-1343.patch
          1 kB
          Robert Zeigler
        2. TestPageRenderDispatcher.java
          1 kB
          Robert Zeigler

        Activity

          People

            hlship Howard Lewis Ship
            ongakugainochi Robert Zeigler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: