mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +01:00
This commit is contained in:
parent
8b1c41ae1e
commit
40756a5e4b
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user