From b638c3d2462c91f7eadc2eb8e1a7562a447162aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marti=CC=81n=20Massera?= Date: Tue, 17 Sep 2019 22:48:55 -0300 Subject: [PATCH 1/2] removing invalid chars --- newsletter/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newsletter/models.py b/newsletter/models.py index 9d2a7cd4..ac499805 100644 --- a/newsletter/models.py +++ b/newsletter/models.py @@ -714,6 +714,9 @@ def get_address(name, email): if LooseVersion(django.get_version()) < LooseVersion('1.9'): name = name.encode('ascii', 'ignore').decode('ascii').strip() if name: + name = name.replace('@', '') \ + .replace(',', '') \ + .replace(';', '') return u'%s <%s>' % (name, email) else: return u'%s' % email From af34a4c65b9d19a48b5650f9dd29ae9bf0d3b8d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marti=CC=81n=20Massera?= Date: Thu, 19 Sep 2019 16:07:11 -0300 Subject: [PATCH 2/2] retrigger travis build