Skip to content

bpo-37532: email.header.make_header with ascii out of range(128)#14696

Closed
aldwinaldwin wants to merge 2 commits into
python:masterfrom
aldwinaldwin:emailheader
Closed

bpo-37532: email.header.make_header with ascii out of range(128)#14696
aldwinaldwin wants to merge 2 commits into
python:masterfrom
aldwinaldwin:emailheader

Conversation

@aldwinaldwin
Copy link
Copy Markdown
Contributor

@aldwinaldwin aldwinaldwin commented Jul 11, 2019

Copy link
Copy Markdown
Contributor

@mangrisano mangrisano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you so much for providing the test :)

@brettcannon
Copy link
Copy Markdown
Member

@maxking

@brettcannon brettcannon added the type-feature A feature request or enhancement label Jul 11, 2019
@aldwinaldwin
Copy link
Copy Markdown
Contributor Author

Rejected in bpo: 'The input header is not valid (non-ascii is not allowed in headers), so you shouldn't expect make_header to do anything sensible. Note that this is the legacy API, which is a toolkit and does not hold your hand when it comes to RFC compliance. Aside from any other concerns, this is long standing behavior (it is the same in python2), and it doesn't make sense to change the behavior of a legacy API.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants