This content has been marked as final.
Show 1 reply
-
1. Re: Context path is case sensitive -- workarounds?
gregwilkins Jan 27, 2003 6:39 PM (in response to mjdinsmore)URLs are specified as case sensitive and must be implemented as such.
It is a security vulnerability for a container to case insensitive, as a security contraint on /sample/* would
be bypassed with a request to /SaMpLe/secret.txt
Containers actually got to a bit of effort to be case
sensitive on operating systems like win2000.
With Jetty, you can turn that off for file serving by
turning off alias checking with the org.mortbay.util.FileResource.checkAliases system
property. But this wont help with contexts.
You could register a default context and default servlet
that does a send redirect of /SaMpLe to /sample (maybe
with a warning page).
regards