diff options
| author | Victor Stinner <vstinner@redhat.com> | 2019-06-18 02:13:58 +0200 |
|---|---|---|
| committer | Ned Deily <nad@python.org> | 2019-06-17 20:13:57 -0400 |
| commit | 516a6a254814d2bc6a90290dfc44d77fdfb4050b (patch) | |
| tree | c8011e1b47da209cc7dd7424de1b23234f28ec0b /Lib/test/test_email/test_headerregistry.py | |
| parent | ecafe8e42464b2c91a507fd26de06ce1203dd654 (diff) | |
| download | cpython-git-516a6a254814d2bc6a90290dfc44d77fdfb4050b.tar.gz | |
bpo-33529, email: Fix infinite loop in email header encoding (GH-12020) (GH-14162)
(cherry picked from commit c1f5667be1e3ec5871560c677402c1252c6018a6)
Diffstat (limited to 'Lib/test/test_email/test_headerregistry.py')
| -rw-r--r-- | Lib/test/test_email/test_headerregistry.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_email/test_headerregistry.py b/Lib/test/test_email/test_headerregistry.py index 30ce0ba54e..d1007099f6 100644 --- a/Lib/test/test_email/test_headerregistry.py +++ b/Lib/test/test_email/test_headerregistry.py @@ -1643,10 +1643,10 @@ class TestFolding(TestHeaderBase): self.assertEqual( h.fold(policy=policy.default), 'X-Report-Abuse: =?utf-8?q?=3Chttps=3A//www=2Emailitapp=2E' - 'com/report=5F?=\n' - ' =?utf-8?q?abuse=2Ephp=3Fmid=3Dxxx-xxx-xxxx' - 'xxxxxxxxxxxxxxxxxxxx=3D=3D-xxx-?=\n' - ' =?utf-8?q?xx-xx=3E?=\n') + 'com/report=5Fabuse?=\n' + ' =?utf-8?q?=2Ephp=3Fmid=3Dxxx-xxx-xxxx' + 'xxxxxxxxxxxxxxxxxxxx=3D=3D-xxx-xx-xx?=\n' + ' =?utf-8?q?=3E?=\n') if __name__ == '__main__': |
