View | Details | Raw Unified | Return to bug 56253
Collapse All | Expand All

(-)a/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java (-1 / +1 lines)
Lines 75-81 Link Here
75
            String pathInJar =
75
            String pathInJar =
76
                    getInternalPath() + path.substring(webAppMount.length());
76
                    getInternalPath() + path.substring(webAppMount.length());
77
            // Always strip off the leading '/' to get the JAR path
77
            // Always strip off the leading '/' to get the JAR path
78
            if (pathInJar.charAt(0) == '/') {
78
            if (pathInJar.length() > 0 && pathInJar.charAt(0) == '/') {
79
                pathInJar = pathInJar.substring(1);
79
                pathInJar = pathInJar.substring(1);
80
            }
80
            }
81
            Iterator<String> entries = jarFileEntries.keySet().iterator();
81
            Iterator<String> entries = jarFileEntries.keySet().iterator();

Return to bug 56253