[issue36520] Email header folded incorrectly

2020-11-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36520] Email header folded incorrectly

2020-10-10 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue36520] Email header folded incorrectly

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 36eea7af48ca0a1c96b78c82bf95bbd29d2332da by Miss Islington (bot) (Abhilash Raj) in branch '3.8': [3.8] bpo-36520: Email header folded incorrectly (GH-13608) (GH-13909)

[issue36520] Email header folded incorrectly

2019-06-11 Thread miss-islington
miss-islington added the comment: New changeset 0745cc66db3acbe7951073071cf063db6337dd10 by Miss Islington (bot) (Abhilash Raj) in branch '3.7': [3.7] bpo-36520: Email header folded incorrectly (GH-13608) (GH-13910)

[issue36520] Email header folded incorrectly

2019-06-08 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +13782 pull_request: https://github.com/python/cpython/pull/13909 ___ Python tracker ___

[issue36520] Email header folded incorrectly

2019-06-08 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +13783 pull_request: https://github.com/python/cpython/pull/13910 ___ Python tracker ___

[issue36520] Email header folded incorrectly

2019-06-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset f6713e84afc5addcfa8477dbdf2c027787f711c0 by Barry Warsaw (websurfer5) in branch 'master': bpo-36520: Email header folded incorrectly (#13608) https://github.com/python/cpython/commit/f6713e84afc5addcfa8477dbdf2c027787f711c0 --

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The pull request has been submitted with both the code fix and tests. -- ___ Python tracker ___

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- pull_requests: +13515 pull_request: https://github.com/python/cpython/pull/13610 ___ Python tracker ___

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13514 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13608 ___ Python tracker

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I uploaded a test script with some test cases: The failure mode occurs when 1. line folding occurs 2. the first folded line has two or more words with UTF-8 characters 3. subsequent lines contain a word with UTF-8 characters located at a different offset

[issue36520] Email header folded incorrectly

2019-05-26 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: To aid with debugging the code, the Subject line can be simplified: >>> from email.message import EmailMessage >>> m = EmailMessage() >>> m['Subject'] = 'Hello >>> =?utf-8?q?W=C3=B6rld!_Hello_W=C3=B6rld!_Hello_W=C3=B6rld!?= Hello >>> Wörld!Hello Wörld!'

[issue36520] Email header folded incorrectly

2019-05-22 Thread R. David Murray
R. David Murray added the comment: Nevermind, I was testing with the wrong version of python. This bug was introduced somewhere after 3.4 :( >>> from email.message import EmailMessage >>> m = EmailMessage() >>> m['Subject'] = 'Hello Wörld! Hello Wörld! Hello Wörld! Hello Wörld!Hello >>>

[issue36520] Email header folded incorrectly

2019-05-22 Thread R. David Murray
R. David Murray added the comment: Can you demonstrate the problem with an actual email object? header_store_parse is not meant to be called directly. -- ___ Python tracker

[issue36520] Email header folded incorrectly

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36520] Email header folded incorrectly

2019-04-03 Thread Jonathan Horn
New submission from Jonathan Horn : I encountered a problem with replacing the 'Subject' header of an email. After serializing it again, the utf8 encoding was wrong. It seems to be occurring when folding the internal header objects. Example: >> email.policy.default.fold_binary('Subject', >>