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

redirect after login error - interceptContinuationURL is missing contextPath

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.6
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None

      Description

      application is running under context eg. http://localhost:8080/myContext/

      unauthenticated user requests page requiring authentication eg. http://localhost:8080/myContext/menu

      user is redirected to login. After the login user is redirected to http://localhost:8080/menu

      Problem is in PageMap class on line 265

      interceptContinuationURL = "/" + cycle.getRequest().getURL();

      interceptContinuationURL is absolute (starts with /), therefore context path should be included

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              saki Petr Sakar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: