Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling for attachments with file names longer than 76 characters #186

Merged
merged 2 commits into from
Jun 2, 2020

Conversation

tarx1234
Copy link

Section 3 of RFC 2184 details how attachments with file names that are longer than 76 characters should be dealt with (https://tools.ietf.org/html/rfc2184#section-3). Rather than overwriting the filename field of the attachments, if the content-disposition includes multiple entries of the form filename*X where X is an integer, these values should be concatenated.

@martinrusev martinrusev merged commit 6e40052 into martinrusev:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants