aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVioleta Georgieva2010-09-10 06:16:45 (EDT)
committerGlyn Normington2010-09-10 06:16:45 (EDT)
commit55a07642379d61466785e41804cf9d68260c1f81 (patch)
tree202329dd2c82a26e23076d15f7e6261cb272aea4
parente9ef4b5af4ea17b66429c13524c33086079a6e8c (diff)
downloadorg.eclipse.gemini.web.gemini-web-container-55a07642379d61466785e41804cf9d68260c1f81.zip
org.eclipse.gemini.web.gemini-web-container-55a07642379d61466785e41804cf9d68260c1f81.tar.gz
org.eclipse.gemini.web.gemini-web-container-55a07642379d61466785e41804cf9d68260c1f81.tar.bz2
bug 308985: fix redirection bug
-rw-r--r--org.eclipse.gemini.web.tomcat/src/main/java/org/eclipse/gemini/web/tomcat/internal/loading/BundleEntry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.gemini.web.tomcat/src/main/java/org/eclipse/gemini/web/tomcat/internal/loading/BundleEntry.java b/org.eclipse.gemini.web.tomcat/src/main/java/org/eclipse/gemini/web/tomcat/internal/loading/BundleEntry.java
index 8ab852b..8404b24 100644
--- a/org.eclipse.gemini.web.tomcat/src/main/java/org/eclipse/gemini/web/tomcat/internal/loading/BundleEntry.java
+++ b/org.eclipse.gemini.web.tomcat/src/main/java/org/eclipse/gemini/web/tomcat/internal/loading/BundleEntry.java
@@ -168,7 +168,8 @@ public final class BundleEntry {
}
public boolean isDirectory() {
- return this.path.endsWith(PATH_SEPARATOR);
+ URL entryFromBundle = getEntryFromBundle(this.path);
+ return entryFromBundle.getFile().endsWith(PATH_SEPARATOR);
}
@Override