From a91a107196ff788532364d08e00896e624eef1b9 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 3 Sep 2009 19:08:52 +0000 Subject: [PATCH] =?utf8?q?Bug=20509794:=20Crash=20if=20setting=20a=20flag?= =?utf8?q?=20with=20Unicode=20characters=20in=20the=20name=20-=20Patch=20b?= =?utf8?q?y=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dbbaetz=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- template/en/default/request/email.txt.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl index 81948c42c5..9ba7aa2431 100644 --- a/template/en/default/request/email.txt.tmpl +++ b/template/en/default/request/email.txt.tmpl @@ -74,7 +74,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 %] -- 2.47.2