Re: Double Slash Conversion to Single Slash in URL Not Working
Christopher Schultz <[email protected]> Tue, 14 Apr 2026 08:32:06 -0400
| Newsgroups | gmane.comp.jakarta.tomcat.user |
|---|---|
| Message-ID | <[email protected]> |
Mickey, On 4/10/26 3:22 PM, Grackin, Michael A. Mr. (Fed) via users wrote: > I have discovered our Tomcat 9.0.113 installation is not converting double slashes in the middle of URLs to a single slash and therefore is returning 404 errors. This is a COTS product so I cannot fix the application to send single slashes. > > Any suggestions as to what to look for that might be preventing this? From what I can tell this is supposed to be the default behavior, but I assume one of the various setting changes I made to harden our installation has disabled the slash conversion. I have tried removing all the hardening settings but still not luck. > > Any thoughts/suggestions would be greatly appreciated. Please post specifics. Important details such as the following are required: 1. Type of url-pattern you are mapping 2. What component is interpreting the URL (and which flavor of URL it's reading) Less important: your Tomcat version You may be able to fix this with URL rewriting but my guess is that some component in the product isn't reading the URL correctly from Tomcat. -chris