https://bz.apache.org/bugzilla/show_bug.cgi?id=58052
Bug ID: 58052 Summary: RewriteValve: Rewrite to a complete URI does not work because the colon is URL encoded Product: Tomcat 8 Version: 8.0.21 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: v...@cenote.de Using rewite valve for example to rewite only some URL's to https does not work: RewriteCond %{REQUEST_URI} !^/some/exception/.*$ RewriteCond %{REQUEST_URI} ^/.*$ RewriteCond %{HTTPS} off RewriteRule ^/(.*)$ https://localhost:8443%{REQUEST_URI} because http://localhost:8443/ is rewritten to https%3A//localhost%3A8443/ The colon ":" is encoded to "%3A" -- 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