Fading Coder

One Final Commit for the Last Sprint

Handling invalid request target characters in Tomcat 8.5+ under RFC 7230/3986

Symptom Upgrading to Tomcat 8.5+ (including the embedded Tomcat in Spring Boot) may reject requests whose path or query contains characters such as {, }, [, ], |, \ and others. A typical failure looks like: java.lang.IllegalArgumentException: Invalid character found in the request target. The valid...

Deploying a Maven Web Application to Tomcat 9 Using the Tomcat Manager

Tomcat 9 does not provide a dedicated Maven plugin. The Tomcat Manager interface, however, is backward-compatible, so the Tomcat 7 Maven Plugin can be used to deploy to Tomcat 9. This guide shows two setups: Using the Tomcat 8 Maven Plugin (historical build that requires custom plugin repositories)...