aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2011-08-04 12:21:36 -0700
committerReed Loden <reed@reedloden.com>2011-08-04 12:21:36 -0700
commitd93de515bd99ecd111a2a9c2bdc0cf9eb1da1d79 (patch)
tree70697a82bbb9ece61923a57ae200213a866e3364 /template
parentBug 676237: The traceback in code-error.html.tmpl is displayed on a single line (diff)
downloadbugzilla-d93de515bd99ecd111a2a9c2bdc0cf9eb1da1d79.tar.gz
bugzilla-d93de515bd99ecd111a2a9c2bdc0cf9eb1da1d79.tar.bz2
bugzilla-d93de515bd99ecd111a2a9c2bdc0cf9eb1da1d79.zip
Bug 657158 - (CVE-2011-2381) [SECURITY] Request email headers for attachment containing newline are corrupt
[r=LpSolit a=LpSolit]
Diffstat (limited to 'template')
-rw-r--r--template/en/default/request/email.txt.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl
index 182ac09e0..b7a9932e4 100644
--- a/template/en/default/request/email.txt.tmpl
+++ b/template/en/default/request/email.txt.tmpl
@@ -50,7 +50,7 @@ From: [% Param('mailfrom') %]
To: [% to %]
Subject: [% flagtype_name %] [%+ subject_status %]: [[% terms.Bug %] [%+ bug.bug_id %]] [% bug.short_desc %]
[%- IF attachment %] :
- [Attachment [% attachment.id %]] [% attachment.description %][% END %]
+ [Attachment [% attachment.id %]] [% attachment.description FILTER clean_text %][% END %]
Date: [% date %]
X-Bugzilla-Type: request
[%+ threadingmarker %]