Hi, Since tapestry 5.3.6 (previous 5.2.x) our https redirect is not working anymore.
In our AppModule : public void contributeMetaDataLocator(MappedConfiguration<String,String> configuration){ configuration.add(MetaDataConstants.SECURE_PAGE, "true"); } Our tomcat is listenning two different port : 80 and 443. The behaviour in 5.2.x was : When someone hit the webapp in http, he is automatically redirected to the https version without any other any configuration but the contributeMetaDataLocator ones. Now, if someone hit the http port, he's well redirected but tapestry add ":80". http://prod.myapp.com become https://prod.myapp.com:80 Which is not working :) We could not easely use the contributeServiceOverride (see below) since this method is based on static url and our webapp is host with a lot of different subdomains. public static void contributeServiceOverride(MappedConfiguration<Class<?>,Object> configuration) { BaseURLSource source = new BaseURLSource() { public String getBaseURL(boolean secure) { String protocol = secure ? "https" : "http"; int port = secure ? 443 : 80; return String.format("%s://server:%d", protocol, port); } }; configuration.add(BaseURLSource.class, source); } Why is tapestry redirecting to https but with ":80" at the end of the url ? Any idea how am I supposed to deal with it ? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-HTTPS-redirect-to-port-80-tp5719759.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org