You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/10/21 12:01:17 UTC
DO NOT REPLY [Bug 48033] New: ProxyDirContext.cacheLookup
https://issues.apache.org/bugzilla/show_bug.cgi?id=48033
Summary: ProxyDirContext.cacheLookup
Product: Tomcat 6
Version: 6.0.20
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: ericjvandervelden@gmail.com
Hi,
protected CacheEntry cacheLookup(String name) {
if (cache == null)
return (null);
if (name == null)
name = "";
for (int i = 0; i < nonCacheable.length; i++) {
if (name.startsWith(nonCacheable[i])) {
In my case,
nonCacheable[0] = "/WEB-INF/lib/"
nonCacheable[1] = "/WEB-INF/classes/"
name = "/WEB-INF/classes"
So name.startsWith(nonCacheable[i])==false, even when i==1, because name
doesn't end with a "/". Is this the intention?
Thanks,
Eric J.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 48033] ProxyDirContext.cacheLookup
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48033
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-10-21 14:51:23 BST ---
Bugzilla is not an appropriate forum for asking questions about the code.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org