You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jeremy Levy (JIRA)" <ji...@apache.org> on 2013/01/15 16:24:12 UTC

[jira] [Created] (WICKET-4979) HttpsMapper broken with Mounted pages

Jeremy Levy created WICKET-4979:
-----------------------------------

             Summary: HttpsMapper broken with Mounted pages
                 Key: WICKET-4979
                 URL: https://issues.apache.org/jira/browse/WICKET-4979
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.4.0
         Environment: see quick start
            Reporter: Jeremy Levy
         Attachments: ssltest.zip

I believe I may have stumbled upon somewhat serious issue with 6.4.0 (and possibly earlier).  A page that is annotated with @RequiresHttps and is mounted with any encoding method, when requested directly, or linked to is not switched over to https. If the page is not specifically mounted it works as expected.

I was able to recreate this in my application as well as in the attached quickstart project.  As far as I could see HttpsMapper.getDesiredSchemeFor wasn't even being called for the mounted pages.


--
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