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 a standalone 'quickstart' project. As far as I could see HttpsMapper.getDesiredSchemeFor wasn't even being called for the mounted pages. I'll debug the issue tomorrow and submit a patch if I can figure it out, however I thought this was serious enough to bring up here right away. Jeremy -- Jeremy Levy