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

Tellier Benoit commented on MIME4J-275:
---------------------------------------

Yes, what you describe seems like a valid behaviour.

Do you think you can provide a pull request changing this?

Regards,

Benoit

> Unable to read content-type name, getFileName return null
> ---------------------------------------------------------
>
>                 Key: MIME4J-275
>                 URL: https://issues.apache.org/jira/browse/MIME4J-275
>             Project: James Mime4j
>          Issue Type: Bug
>          Components: parser (core)
>    Affects Versions: 0.8.1
>            Reporter: Raffaele Gambelli
>            Priority: Major
>         Attachments: vi_attachment_name.eml
>
>
> Hi all,
> I have an eml where there is a part like this:
> {quote}--___04381732116.93.1525348748___
> Content-Transfer-Encoding: Base64
> Content-type: application/pdf; Name="20180503_135905_043475033.pdf"
> {quote}
>  
> I know that it is missing the content-disposition, but parser shouldn't be 
> able to read content-type name anyway? And doing so, part.getFileName() would 
> return that, am I wrong?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to