From cd86036b1f1115c268f500d82917202f600558bc Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 3 Sep 2009 19:05:33 +0000 Subject: =?UTF-8?q?Bug=20509794:=20Crash=20if=20setting=20a=20flag=20with?= =?UTF-8?q?=20Unicode=20characters=20in=20the=20name=20-=20Patch=20by=20Fr?= =?UTF-8?q?=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r?= =?UTF-8?q?=3Dbbaetz=20a=3DLpSolit?= 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/default/request') 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.1