[ 
https://issues.apache.org/jira/browse/TIKA-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720653#comment-17720653
 ] 

Tim Allison commented on TIKA-4032:
-----------------------------------

In looking at our unit test files, many have the file name in both the 
content-type and the content-disposition fields.  In the example sent to me 
privately, the name only exists in the content-type field.  I just updated main 
to handle this issue.

> Look for embedded file name in the content-type field in .eml files
> -------------------------------------------------------------------
>
>                 Key: TIKA-4032
>                 URL: https://issues.apache.org/jira/browse/TIKA-4032
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>
> We had been looking for the embedded file name within rfc822/eml files in the 
> content-disposition field.  However, it can also appear in the content-type 
> field with the parameter "name".  If both appear, I think we should prefer 
> the latter.  However, we should try to get the attachment name from both 
> locations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to