Skip to content

Commit

Permalink
* Detect WAR(s) that do not describe themselves as WAR(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
romw committed Apr 3, 2022
1 parent 4807b3d commit 9f10fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int32_t ScanFileZIPArchive(CScannerOptions& options, std::wstring file, std::wst
foundManifest = true;
UncompressZIPContentsToString(zf, manifest);
}
if (0 == stricmp(filename, "WEB-INF/web.xml")) {
if (0 == stricmp(filename, "WEB-INF/")) {
foundWAR = true;
}
if (0 == stricmp(filename, "META-INF/application.xml")) {
Expand Down

0 comments on commit 9f10fb2

Please sign in to comment.