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

encodeURL broken on Tomcat 7.0.28

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0-beta2
    • 6.1.0, 1.5.9
    • None
    • 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. test.zip
          10 kB
          Thijs Vonk
        2. UrlRendererTest.java
          13 kB
          Marek Šabo
        3. wicket-4645.zip
          5 kB
          Pedro Santos

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: