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

bpo-39040: Fix parsing of email mime headers with whitespace between encoded-words. #17620

Open
wants to merge 4 commits into
base: master
from

Conversation

@maxking
Copy link
Contributor

maxking commented Dec 16, 2019

In certain malformed content-disposition headers, parameter values are quoted
and split as encoded words on two lines with extra whitespaces. This fixes the
issue by removing the extra whitespace between the two encoded words.

https://bugs.python.org/issue39040

…ed-words.

In certain malformed content-disposition headers, parameter values are quoted
and split as encoded words on two lines with extra whitespaces. This fixes the
issue by removing the extra whitespace between the two encoded words.
Copy link
Member

bitdancer left a comment

Oops, I forgot to start a review :(

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 16, 2019

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@maxking maxking changed the title bpo-39040: Fix parsing of email headers with whitespace between encoded-words. bpo-39040: Fix parsing of email mime headers with whitespace between encoded-words. Dec 17, 2019
@maxking

This comment has been minimized.

Copy link
Contributor Author

maxking commented Dec 17, 2019

I have made the requested changes; please review again.

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 17, 2019

Thanks for making the requested changes!

@bitdancer: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from bitdancer Dec 17, 2019
Lib/test/test_email/test_headerregistry.py Outdated Show resolved Hide resolved
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 17, 2019

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

maxking added 2 commits Dec 18, 2019
@maxking

This comment has been minimized.

Copy link
Contributor Author

maxking commented Dec 18, 2019

I have made the requested changes; please review again.

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 18, 2019

Thanks for making the requested changes!

@bitdancer: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from bitdancer Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.