-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-75171: Fix parsing invalid email address headers starting or ending with a dot #15600
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
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Our records indicate we have not received your CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for your contribution, we look forward to reviewing it! |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
b2009cf
to
21f51b9
Compare
I have made the requested changes; please review again |
Thanks for making the requested changes! @maxking: please review the changes made to this pull request. |
Misc/NEWS.d/next/Library/2019-08-29-20-26-08.bpo-30988.b-_h5O.rst
Outdated
Show resolved
Hide resolved
Co-Authored-By: Abhilash Raj <maxking@users.noreply.github.com>
@maxking and @csabella, is there any additional review that is needed for this pull request from @tsufeki? |
Hi @maxking Could you please review this PL and approve it? This issue currently affects my productive systems and it would be great if it could be fixed upstream. FYI: python/email-team was requested to review this PL, but it does not seem to exist anymore. Maybe that's the reason, why this PL was not approved yet? |
Hi @tsufeki |
@ZackerySpytz @spacefreak86 I fixed those long lines. |
Is there anyone from the python/email-team to review this? |
@maxking could please review the changed PR again? It would be really great to have this fixed upstream. |
Gentle ping for this one since #2811 was closed :) |
Any updates on this? @maxking? |
Hi @warsaw, @bitdancer, @maxking is anything missing in order to have the PR merge into main? (remove the label "awaiting change review"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was also the same bug in DisplayName.value
, which I have fixed.
Thanks @tsufeki for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
… ending with a dot (pythonGH-15600) (cherry picked from commit 8cc9adb) Co-authored-by: tsufeki <tsufeki@ymail.com> Co-authored-by: Tim Bell <timothybell@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-117964 is a backport of this pull request to the 3.12 branch. |
… ending with a dot (pythonGH-15600) Co-authored-by: Tim Bell <timothybell@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This PR is based on #2811, with additional fixes for the case where display-name starts with a dot.
Added checks whether or not given token is a list before inserting/removing cfws from it.
https://bugs.python.org/issue30988