Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
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".