diff options
author | Reed Loden <reed@reedloden.com> | 2011-08-04 12:19:33 -0700 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2011-08-04 12:19:33 -0700 |
commit | b9c01561118c42514055b218f81cb82fa76dbb05 (patch) | |
tree | 72ba53c7e8cf1322915d8fe39558e43a53b0033d /Bugzilla | |
parent | 1e41eccc970e905694b3e66acda5f886055a9564 (diff) | |
download | bugs-b9c01561118c42514055b218f81cb82fa76dbb05.tar bugs-b9c01561118c42514055b218f81cb82fa76dbb05.tar.gz bugs-b9c01561118c42514055b218f81cb82fa76dbb05.tar.bz2 bugs-b9c01561118c42514055b218f81cb82fa76dbb05.tar.xz bugs-b9c01561118c42514055b218f81cb82fa76dbb05.zip |
Bug 657158 - (CVE-2011-2381) [SECURITY] Request email headers for attachment containing newline are corrupt
[r=LpSolit a=LpSolit]
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Template.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 64c18c64c..527b704b2 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -695,6 +695,9 @@ sub create { # as prefix. In addition it replaces a ' ' by a '_'. css_class_quote => \&Bugzilla::Util::css_class_quote , + # Removes control characters and trims extra whitespace. + clean_text => \&Bugzilla::Util::clean_text , + quoteUrls => [ sub { my ($context, $bug, $comment) = @_; return sub { |