fix #2490 check Fess-WebAppJar as a key
This commit is contained in:
parent
5f02aa3f8f
commit
c868eb45a8
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ public class FessWebResourceRoot extends StandardRoot {
|
|||
final Manifest manifest = jarFile.getManifest();
|
||||
if (manifest != null && manifest.getEntries() != null) {
|
||||
final Attributes attributes = manifest.getMainAttributes();
|
||||
if (attributes != null && attributes.get("Fess-WebAppJar") != null) {
|
||||
if (attributes != null
|
||||
&& (attributes.get("Fess-WebAppJar") != null || attributes.getValue("Fess-WebAppJar") != null)) {
|
||||
createWebResourceSet(ResourceSetType.CLASSES_JAR, "/WEB-INF/classes", possibleJar.getURL(), "/");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue