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
            Reporter: Antoine van Wel


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

Reply via email to