You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/05/12 14:57:00 UTC

[jira] [Updated] (TIKA-1628) ExternalParser.check should return false if it hits SecurityException

     [ https://issues.apache.org/jira/browse/TIKA-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated TIKA-1628:
-------------------------------------
    Attachment: TIKA-1628.patch

Simple patch, but I think writing a test case for this would be tricky ... we'd need to run a test in a separate JVM that has the right security policy ...

> ExternalParser.check should return false if it hits SecurityException
> ---------------------------------------------------------------------
>
>                 Key: TIKA-1628
>                 URL: https://issues.apache.org/jira/browse/TIKA-1628
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 1.9
>
>         Attachments: TIKA-1628.patch
>
>
> If you run Tika with a Java security manager that blocks execution of external processes, ExternalParser.check throws SecurityException, but I think it should just return false?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)