Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4645

encodeURL broken on Tomcat 7.0.28

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0-beta2
    • Fix Version/s: 6.1.0, 1.5.9
    • Component/s: None
    • Labels:
      None

      Description

      During page transition wicket used to encode an '../../tisch' which results in an exception:

      Caused by: java.lang.IllegalArgumentException
      at org.apache.catalina.connector.Response.normalize(Response.java:1799)

      The transition (within an ajax call) :

      http://localhost:8080/wicket/bookmarkable/de.test.pool.manage.ManagePool?11
      http://localhost:8080/tisch

      IMHO the double parent ".." is correct

      There exists already an bugzilla issue created but rejected as invalid https://issues.apache.org/bugzilla/show_bug.cgi?id=53469.

      If the wicket code works as expected there must be an error in the tomcat.
      Maybe the wicket development team has closer access to the tomcat developers

        Attachments

        1. UrlRendererTest.java
          13 kB
          Marek Šabo
        2. wicket-4645.zip
          5 kB
          Pedro Santos
        3. test.zip
          10 kB
          Thijs Vonk

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                mgrigorov Martin Tzvetanov Grigorov
                Reporter:
                mcbain4711 Jens Zastrow
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: