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

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


The following commit(s) were added to refs/heads/branch_1x by this push:
     new 856a90d  TIKA-2571 -- rethrow SecurityException
856a90d is described below

commit 856a90d3c4b49509f4b112fa1fcc1a7c25019c7b
Author: tballison <talli...@mitre.org>
AuthorDate: Fri Feb 9 14:41:15 2018 -0500

    TIKA-2571 -- rethrow SecurityException
---
 .../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