This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/master by this push:
     new cef8494  TIKA-2571 -- re-throw SecurityException in 
ZipContainerDetector
cef8494 is described below

commit cef8494070cfbcb468c37da0f4732e2453d505ee
Author: tballison <talli...@mitre.org>
AuthorDate: Fri Feb 9 14:37:02 2018 -0500

    TIKA-2571 -- re-throw SecurityException in ZipContainerDetector
---
 .../src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/tika-parsers/src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java
 
b/tika-parsers/src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java
index 4195fc7..65e2e1d 100644
--- 
a/tika-parsers/src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java
+++ 
b/tika-parsers/src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java
@@ -216,6 +216,9 @@ public class ZipContainerDetector implements Detector {
                 return null;
         } catch (IOException e) {
             return null;
+        } catch (SecurityException e) {
+            //TIKA-2571
+            throw e;
         } catch (RuntimeException e) {
             return null;
         } catch (InvalidFormatException e) {

-- 
To stop receiving notification emails like this one, please contact
talli...@apache.org.

Reply via email to