aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-09-03 19:05:33 +0000
committerlpsolit%gmail.com <>2009-09-03 19:05:33 +0000
commitcd86036b1f1115c268f500d82917202f600558bc (patch)
treec2d99613461fa96395eab5277baa752404bbd23a
parent3bc08bc506e5d25165909cf1f5ea2328ea0eeb4f (diff)
downloadbugs-cd86036b1f1115c268f500d82917202f600558bc.tar
bugs-cd86036b1f1115c268f500d82917202f600558bc.tar.gz
bugs-cd86036b1f1115c268f500d82917202f600558bc.tar.bz2
bugs-cd86036b1f1115c268f500d82917202f600558bc.tar.xz
bugs-cd86036b1f1115c268f500d82917202f600558bc.zip
Bug 509794: Crash if setting a flag with Unicode characters in the name - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bbaetz a=LpSolit
-rw-r--r--template/en/default/request/email.txt.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl
index adc0faa1c..e48b2fc13 100644
--- a/template/en/default/request/email.txt.tmpl
+++ b/template/en/default/request/email.txt.tmpl
@@ -77,7 +77,8 @@ Attachment [% attidsummary %]
[%- FILTER bullet = wrap(80) %]
[% USE Bugzilla %]
-[% IF Bugzilla.cgi.param("comment") && Bugzilla.cgi.param("comment").length > 0 %]
+[%-# .defined is necessary to avoid a taint issue in Perl < 5.10.1, see bug 509794. %]
+[% IF Bugzilla.cgi.param("comment").defined && Bugzilla.cgi.param("comment").length > 0 %]
------- Additional Comments from [% user.identity %]
[%+ Bugzilla.cgi.param("comment") %]
[% END %]