commit | 9500bbe9372f6080decc49d2fd9365f0b927a0e2 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Sun Aug 11 14:04:31 2019 -0700 |
committer | GitHub <noreply@github.com> | Sun Aug 11 14:04:31 2019 -0700 |
tree | ccc4bc441185a56739a190c80588ac43abda052e | |
parent | c61f9b57cfce9e96bdea5674634e3a9c185b675f [diff] |
bpo-32178: Fix IndexError trying to parse 'To' header starting with ':'. (GH-15044) This should fix the IndexError trying to retrieve `DisplayName.display_name` and `DisplayName.value` when the `value` is basically an empty string. https://bugs.python.org/issue32178 (cherry picked from commit 09a1872a8007048dcdf825a476816c5e3498b8f8) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>