From cd86036b1f1115c268f500d82917202f600558bc Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 3 Sep 2009 19:05:33 +0000 Subject: Bug 509794: Crash if setting a flag with Unicode characters in the name - Patch by Frédéric Buclin r=bbaetz a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/request/email.txt.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en') 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 %] -- cgit v1.2.3-24-g4f1b