https://issues.apache.org/bugzilla/show_bug.cgi?id=51972
--- Comment #3 from Heikki Vesalainen <heikki.vesalai...@ixonos.com> 2011-10-08 08:57:00 UTC --- I would also suggest using the java.net.URI to resolve things in place of any home-brewn code. private String toAbsolute(String href) { URI base = URI.create(requestURI); // original request URI, including protocol return base.resolve(URI.create(href)).toASCIIString(); } And not just in this case, but all over tomcat where URIs are handled. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org