[
https://issues.apache.org/jira/browse/TIKA-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison resolved TIKA-2307.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.15
2.0
> Accidentally swallowing UnsupportedZipFeatureException in rare cases
> --------------------------------------------------------------------
>
> Key: TIKA-2307
> URL: https://issues.apache.org/jira/browse/TIKA-2307
> Project: Tika
> Issue Type: Bug
> Components: parser
> Reporter: Tim Allison
> Priority: Trivial
> Fix For: 2.0, 1.15
>
>
> It looks from this comment in the PackageParser that we mean to re-throw this
> exception, but we aren't.
> {noformat}
> catch (UnsupportedZipFeatureException zfe) {
> // If it's an encrypted document of unknown password, report as
> such
> if (zfe.getFeature() == Feature.ENCRYPTION) {
> throw new EncryptedDocumentException(zfe);
> }
> // Otherwise fall through to raise the exception as normal
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)