Bug 31209 - Setting caseSensitive to false for FileDirContext seems to have no effect
Summary: Setting caseSensitive to false for FileDirContext seems to have no effect
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.0.28
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 23:45 UTC by paul
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paul 2004-09-13 23:45:21 UTC
For some time I have used the following Context Element for webapps to disable
case sensitivity in resource names.

<Context path="/iCom" docBase="../webapps/iCom" debug="0">
  <Resources
    className="org.apache.naming.resources.FileDirContext" caseSensitive="false" />
</Context>

This worked fine in early releases of Tomcat 5 (e.g. Tomcat 5.0.12) but at some
point it stopped working (by Tomcat 5.0.19 it was no longer working, and is
still not working in 5.0.28).  I've checked the documentation for 5.0.28 and so
far as I can see the above should still work fine.
Comment 1 paul 2004-09-14 05:49:23 UTC
I figured out that by changing the Context element
<Context path="/iCom" docBase="iCom" debug="0" caseSensitive="false" />

I managed to turn off case sensitivity again.

Sorry to bother you.