diff --git a/tcms/core/history.py b/tcms/core/history.py index 76a9fcccc2..484de0041a 100644 --- a/tcms/core/history.py +++ b/tcms/core/history.py @@ -54,6 +54,8 @@ def history_email_for(instance, title): "pk": instance.pk, "title": title, } + # no multi-line email headers + subject = subject.replace("\n", " ").replace("\r", " ") body = ( _(