Skip to content

Commit f325fca

Browse files
committed
add support for *.hpi and *.jpi zip files
1 parent 22c7ca7 commit f325fca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

log4j-detector-2021.12.20.jar

22 Bytes
Binary file not shown.

src/main/java/com/mergebase/log4j/Log4JDetector.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ private static int fileType(String fileName) {
223223
return 1;
224224
} else if ("zip".equalsIgnoreCase(suffix)
225225
|| "jar".equalsIgnoreCase(suffix)
226+
|| "jpi".equalsIgnoreCase(suffix)
227+
|| "hpi".equalsIgnoreCase(suffix)
226228
|| "war".equalsIgnoreCase(suffix)
227229
|| "ear".equalsIgnoreCase(suffix)
228230
|| "aar".equalsIgnoreCase(suffix)) {

0 commit comments

Comments
 (0)