From eefd0de541af99d6886a7c48674231e83411f23f Mon Sep 17 00:00:00 2001 From: Richard Mathot Date: Mon, 24 Apr 2017 10:18:37 +0200 Subject: [PATCH] [FIX] safer company name as email sender In some email templates of Odoo, the From: field is generated from the company name. If this name contains an "&" character, this will lead in an escaping eg; & Sender header will look like: From: Machin & Brol This case is not well handled by email providers like Gmail, that splits the line on the ";" and considers there are 2 senders, and then discards the email. We then fix the templates, waiting for a better fix in master. --- addons/auth_signup/auth_signup_data.xml | 4 ++-- addons/website_forum/data/forum_data.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/auth_signup/auth_signup_data.xml b/addons/auth_signup/auth_signup_data.xml index 8f057e6d490..6d6f8f7ab38 100644 --- a/addons/auth_signup/auth_signup_data.xml +++ b/addons/auth_signup/auth_signup_data.xml @@ -22,7 +22,7 @@ Reset Password - ]]> + ]]> ${object.email|safe} Password reset Odoo Enterprise Connection - ]]> + ]]> ${object.email|safe} diff --git a/addons/website_forum/data/forum_data.xml b/addons/website_forum/data/forum_data.xml index fd26dd91026..e2a213e8d5b 100644 --- a/addons/website_forum/data/forum_data.xml +++ b/addons/website_forum/data/forum_data.xml @@ -106,7 +106,7 @@ Email Verification - ]]> + ]]> ${object.email|safe}