You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2017/12/18 10:45:02 UTC
[jira] [Commented] (TIKA-2531) RarParser throws RarException
instead of EncryptedDocumentException when parsing encrypted file
[ https://issues.apache.org/jira/browse/TIKA-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294786#comment-16294786 ]
Nick Burch commented on TIKA-2531:
----------------------------------
In c2c73e9239e8957a390008bdf94df93e73def086 I've added a unit test for this, and for my sample encrypted rar document, we are already correctly throwing {{EncryptedDocumentException}}
Would you be able to take a look at my unit test and sample file, and see if you can let us know what we need to do differently to recreate the issue you're seeing?
> RarParser throws RarException instead of EncryptedDocumentException when parsing encrypted file
> -----------------------------------------------------------------------------------------------
>
> Key: TIKA-2531
> URL: https://issues.apache.org/jira/browse/TIKA-2531
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.17
> Reporter: TzeKai Lee
> Priority: Minor
>
> While the code tries to check and throw EncryptedDocumentException at line 70~72, junrar itself will throw RarException with Encrypted type during Archive construction (line 68).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)