Well, all redirects are mapped by the SystemMapper (and its child mappers); So if you are certain that it’s mapped inside your HttpsMapper, that should not be the problem.
Have you set a breakpoint inside BufferedWebResponse#sendRedirect? You should check what url it receives and if it is a http url, whether the url generation went through your HttpsMapper. This also allows you to detect if the container is interfering (your app server or reverse proxy). Met vriendelijke groet, Kind regards, Bas Gooren Op 8 augustus 2017 bij 12:50:47, Hendy Irawan (he...@soluvas.com) schreef: Thanks Sebastian for the hint. But yes, I've mapped all pages before calling setRootRequestMapper. I also put logs in my getDesiredSchemeFor and they're being called, and returning HTTPS for all calls. But is it possible there are some cases it's not being called (?) Or perhaps the ?1 stateful redirect is handled differently? My current issue is only with the redirects. Everything else seems to be fine... Hendy -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-force-page-redirects-to-HTTPS-tp4678479p4678484.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org