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 20:24:12 UTC

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

    [ https://issues.apache.org/jira/browse/WICKET-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554188#comment-13554188 ] 

Jeremy Levy commented on WICKET-4979:
-------------------------------------

Thanks Sven-  I will update the Wiki with this information-  Perhaps the JavaDoc can be updated to make this a bit clearer, or even warn if items are mounted after setting the HttpsMapper.

http://wicket.apache.org/apidocs/1.5/org/apache/wicket/protocol/https/HttpsMapper.html
                
> 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
>            Assignee: Sven Meier
>         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