jakartaee / jakartaee/mail-api

Attachement filename is ignored[2023July03]

Open
#693 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
285
Forks
109
Avg merge
15h 19m
Merged PRs (30d)
1

Description

I've searched #330 , didn't resovled my question.

Attachement filename is still ignored, because in my case the attachment file name is not described in the Content-Type but Content-Disposition.

```
Content-Type: application/octet-stream
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename*=utf-8''2023%E5%B9%B406%E6%9C%8830%E6%97%A515%E6%97%B610%E5%88%86.zip
```

Thanks for your work.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the attachment case using the Content-Type and Content-Disposition headers shown in the issue, then trace how attachment filenames are selected. Done means the UTF-8 filename in Content-Disposition, including filename*, is recognized when Content-Type does not describe a filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.