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

Problems with switching between HTTP/HTTPS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.6, 1.5.7, 1.5.8, 6.0.0
    • 6.2.0, 1.5.9
    • wicket
    • None

    Description

      Testcase, two Pages (A and B)
      Page A: two Links to Page B
      -Link1: setResponsePage(PageB.class);
      -Link2: setResponsePage(new PageB());

      Page B: "@RequireHttps", two Links to Page A
      -Link1: setResponsePage(PageA.class);
      -Link2: setResponsePage(new PageA());

      Clicking link1 behaves equal in every Version i tested. No Problems switching between Page A and B and HTTP/HTTPS-change is working like expected (except status 404 at Page B in 1.5.6).

      Clicking link2 behaves very strange.
      Link2-Behavior in different Versions:
      1.5.4/5 (and i guess older): Everything working correct like Link1.
      1.5.6: Status 404 on Both Links at Page B

      1.5.7/8/6.0.0:
      If i go from Page A to B, Page B isn't called with https.
      Now I'm on Page B an go to Page A, A is called WITH https?!?!
      Then, moving one more to B, https is switching again to http.

      This is very confusing, Page A without requireHttps is called with https, Page B with requireHttps is called without https?!
      This leads in most cases on my website to a "Page B" where Links/Buttons/etc aren't working anymore.

      Attachments

        1. myproject.zip
          20 kB
          Matthias Remy

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              mrm Matthias Remy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: