Matthias Remy created WICKET-4776:
-------------------------------------
Summary: Problems with switching between HTTP/HTTPS
Key: WICKET-4776
URL: https://issues.apache.org/jira/browse/WICKET-4776
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 6.0.0, 1.5.8, 1.5.7, 1.5.6
Reporter: Matthias Remy
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira