summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-09-03 21:05:33 +0200
committerlpsolit%gmail.com <>2009-09-03 21:05:33 +0200
commitcd86036b1f1115c268f500d82917202f600558bc (patch)
treec2d99613461fa96395eab5277baa752404bbd23a /template/en
parent3bc08bc506e5d25165909cf1f5ea2328ea0eeb4f (diff)
downloadbugzilla-cd86036b1f1115c268f500d82917202f600558bc.tar.gz
bugzilla-cd86036b1f1115c268f500d82917202f600558bc.tar.xz
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
Diffstat (limited to 'template/en')
-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 %]