Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4645 encodeURL broken on Tomcat 7.0.28
  3. WICKET-4854

Pass an absolute url to encodeRedirectUrl() to make it easier for the web container

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.8, 6.2.0
    • 6.1.0, 1.5.9
    • wicket
    • None

    Description

      WICKET-4645 fixed a problem where Wicket passed a relative URL to HttpServletResponse#encodeURL() and in some circumstances the web container wasn't able to calculate an absolute url for them. e.g. when the requested page is mounted at deeper mount paht than the response page.

      The same should be done for HttpServletResponse#encodeRedirectURL().

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment