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

Update parser.py #192

Merged
merged 1 commit into from Sep 17, 2020
Merged

Update parser.py #192

merged 1 commit into from Sep 17, 2020

Conversation

ghost
Copy link

@ghost ghost commented Sep 14, 2020

Construct the filename of the attachment correctly if the filename
a) uses the encoding defined in RFC 5987 (filename* instead of filename)
b) and it is sort therefore no needed to break up into smaller units that are amenable to line wrapping (Parameter Value Continuations defined in RFC2184).

For example:
Content-Disposition: attachment;
filename*=UTF-8''%C3%A9%6B%65%7A%65%74%65%73

Construct the filename of the attachment correctly if the filename
a) uses the encoding defined in RFC 5987 (filename* instead of filename)
b) and it is sort therefore no needed to break up into  smaller units that are amenable to line wrapping (Parameter Value Continuations defined in RFC2184).

For example: 
Content-Disposition: attachment;
 filename*=UTF-8''%C3%A9%6B%65%7A%65%74%65%73
@martinrusev martinrusev merged commit 994de58 into martinrusev:master Sep 17, 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

1 participant