mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 01:36:18 +00:00
This commit is contained in:
@@ -96,7 +96,7 @@ public class FileProcessingAsyncListener {
|
||||
final File file = event.getFile();
|
||||
FormatHandler formatHandler = FormatHandlerUtil.find(file.getMimeType());
|
||||
if (formatHandler == null) {
|
||||
log.error("Format unhandled: " + file.getMimeType());
|
||||
log.info("Format unhandled: " + file.getMimeType());
|
||||
FileUtil.endProcessingFile(file.getId());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ public class EncryptionUtil {
|
||||
static {
|
||||
// Initialize Bouncy Castle provider
|
||||
Security.insertProviderAt(new BouncyCastleProvider(), 1);
|
||||
Security.removeProvider("SunRsaSign");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user