This commit is contained in:
Benjamin Gamard 2019-05-07 14:38:05 +02:00
parent 8b1c41ae1e
commit 40756a5e4b
3 changed files with 3 additions and 2 deletions

View File

@ -96,7 +96,7 @@ public class FileProcessingAsyncListener {
final File file = event.getFile(); final File file = event.getFile();
FormatHandler formatHandler = FormatHandlerUtil.find(file.getMimeType()); FormatHandler formatHandler = FormatHandlerUtil.find(file.getMimeType());
if (formatHandler == null) { if (formatHandler == null) {
log.error("Format unhandled: " + file.getMimeType()); log.info("Format unhandled: " + file.getMimeType());
FileUtil.endProcessingFile(file.getId()); FileUtil.endProcessingFile(file.getId());
return; return;
} }

View File

@ -32,6 +32,7 @@ public class EncryptionUtil {
static { static {
// Initialize Bouncy Castle provider // Initialize Bouncy Castle provider
Security.insertProviderAt(new BouncyCastleProvider(), 1); Security.insertProviderAt(new BouncyCastleProvider(), 1);
Security.removeProvider("SunRsaSign");
} }
/** /**

View File

@ -34,7 +34,7 @@
<org.apache.lucene.version>7.5.0</org.apache.lucene.version> <org.apache.lucene.version>7.5.0</org.apache.lucene.version>
<org.imgscalr.imgscalr-lib.version>4.2</org.imgscalr.imgscalr-lib.version> <org.imgscalr.imgscalr-lib.version>4.2</org.imgscalr.imgscalr-lib.version>
<org.apache.pdfbox.pdfbox.version>2.0.12</org.apache.pdfbox.pdfbox.version> <org.apache.pdfbox.pdfbox.version>2.0.12</org.apache.pdfbox.pdfbox.version>
<org.bouncycastle.bcprov-jdk15on.version>1.54</org.bouncycastle.bcprov-jdk15on.version> <org.bouncycastle.bcprov-jdk15on.version>1.61</org.bouncycastle.bcprov-jdk15on.version>
<joda-time.joda-time.version>2.10</joda-time.joda-time.version> <joda-time.joda-time.version>2.10</joda-time.joda-time.version>
<org.hibernate.hibernate.version>5.3.7.Final</org.hibernate.hibernate.version> <org.hibernate.hibernate.version>5.3.7.Final</org.hibernate.hibernate.version>
<javax.servlet.javax.servlet-api.version>4.0.1</javax.servlet.javax.servlet-api.version> <javax.servlet.javax.servlet-api.version>4.0.1</javax.servlet.javax.servlet-api.version>