mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-07 19:34:27 +00:00
Updated the messaging for an invalid swid tag file and added .log as another type of tmp log file to extension to accept.
This commit is contained in:
parent
29789e2fbe
commit
2b2e7c744b
@ -61,7 +61,7 @@ public class ReferenceManifestPageController
|
||||
extends PageController<NoPageParams> {
|
||||
|
||||
private static final String BIOS_RELEASE_DATE_FORMAT = "yyyy-MM-dd";
|
||||
private static final String LOG_FILE_PATTERN = "([^\\s]+(\\.(?i)(rim|rimel|bin))$)";
|
||||
private static final String LOG_FILE_PATTERN = "([^\\s]+(\\.(?i)(rim|rimel|bin|log))$)";
|
||||
|
||||
private final BiosDateValidator biosValidator;
|
||||
private final ReferenceManifestManager referenceManifestManager;
|
||||
@ -232,10 +232,6 @@ public class ReferenceManifestPageController
|
||||
messages,
|
||||
rim,
|
||||
referenceManifestManager);
|
||||
|
||||
for (SwidResource swidRes : rim.parseResource()) {
|
||||
System.out.println("testing this section!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -469,7 +469,7 @@ public class ReferenceManifest extends ArchivableEntity {
|
||||
if (jaxbe != null) {
|
||||
return jaxbe;
|
||||
} else {
|
||||
throw new IOException("Invalid swidtag file!");
|
||||
throw new IOException("Invalid Base RIM, swidtag format expected.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user