Fix header encoding for To and Cc as well
authorMagnus Hagander <magnus@hagander.net>
Sat, 11 Mar 2017 18:33:08 +0000 (13:33 -0500)
committerMagnus Hagander <magnus@hagander.net>
Sat, 11 Mar 2017 18:33:08 +0000 (13:33 -0500)
commitd745feae8d4e914f7b03d27465d6dfa495058097
tree86968dc466275feb922b182db6387b9a2beaa4b9
parentd49b2b07a8b2422173142729fe8d7624de7ef4c5
Fix header encoding for To and Cc as well

Patch in 2e41b31654b80aeb3e6037fc0b31422c951040c7 only handled From and
missed the ohher tields. To make this cleaner, move the escpaping code
into the UserWrapper class.

Reported by Dagfinn Ilmari MannsÃ¥ker, but not using his patch
pgcommitfest/commitfest/views.py
pgcommitfest/userprofile/util.py