From 7e8775fcb6599a2e69d37787e5dd58f0aa522a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 25 Apr 2018 14:03:33 +0200 Subject: [PATCH] quote username part --- post-receive-email | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-receive-email b/post-receive-email index 5eec810..ebab929 100755 --- a/post-receive-email +++ b/post-receive-email @@ -123,7 +123,7 @@ class RefChange(object): user = os.environ['USER'] if email_user_fullname: - from_address = "%s <%s@entrouvert.com>" % (email_user_fullname, user) + from_address = '"%s" <%s@entrouvert.com>' % (email_user_fullname, user) else: from_address = "%s@entrouvert.com" % (user)