You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/03/27 07:21:05 UTC
[jira] [Resolved] (WICKET-3560) mounting @RequireHttps-annotated
page after HttpsMapper instantiation ignores @RequireHttps annotation
[ https://issues.apache.org/jira/browse/WICKET-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3560.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC3
Assignee: Igor Vaynberg
added note to javadoc
> mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation
> ------------------------------------------------------------------------------------------------------
>
> Key: WICKET-3560
> URL: https://issues.apache.org/jira/browse/WICKET-3560
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5-RC2
> Reporter: Antoine van Wel
> Assignee: Igor Vaynberg
> Fix For: 1.5-RC3
>
> Attachments: httpsswitcher.tar.gz
>
>
> Attached quickstart.
> Create a page, annotate it with @RequireHttps
> First instantiatie HttpsMapper
> Then mount the page.
> As a result, the page will not be recognized as an annotated page - links will render to http, and no redirection will take place when accessing.
> The workaround is simple, just instantiate the HttpsMapper last - maybe this is not a bug..
> However a warning or a check would help a lot. Maybe it shouldn't happen at all, and this is really a bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira