You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2015/07/02 15:45:04 UTC

[jira] [Created] (TIKA-1673) Don't include source file name in embedded path with RecursiveParserWrapper

Tim Allison created TIKA-1673:
---------------------------------

             Summary: Don't include source file name in embedded path with RecursiveParserWrapper
                 Key: TIKA-1673
                 URL: https://issues.apache.org/jira/browse/TIKA-1673
             Project: Tika
          Issue Type: Bug
            Reporter: Tim Allison
            Assignee: Tim Allison
            Priority: Trivial


The RecursiveParserWrapper has been including the source file in the embedded file path ("X-TIKA:embedded_resource_path"), as in "test_recursive.docx/embed1.zip/embed2.zip/embed3.zip/embed3.txt".  If the client forgets to send in a file name or if a filename doesn't exist, then the RecursiveParserWrapper defaults to "embed-1", which is wrong.

Let's drop the source file name from the path so that the above will be "/embed1.zip/embed2.zip/embed3.zip/embed3.txt".



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