After further research, it appears the issue is with a specific configuration 
of the COTS software.  If I role back the configuration settings for the 
software, the problem goes away.  The double slash no longer triggers a 404 but 
rather returns the correct item (GIF or JavaScript file).  The double slash 
URLs are still logged in the Tomcat access logs but the HTTP status return code 
is now 200.

Thanks everyone for the suggestions on how to find the root cause.

Mickey Grackin

-----Original Message-----
From: Christopher Schultz <[email protected]> 
Sent: Tuesday, April 14, 2026 8:32 AM
To: [email protected]
Subject: [EXTERNAL] Re: Double Slash Conversion to Single Slash in URL Not 
Working

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to