diff options
author | lpsolit%gmail.com <> | 2009-09-03 19:05:33 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-09-03 19:05:33 +0000 |
commit | cd86036b1f1115c268f500d82917202f600558bc (patch) | |
tree | c2d99613461fa96395eab5277baa752404bbd23a /template | |
parent | 3bc08bc506e5d25165909cf1f5ea2328ea0eeb4f (diff) | |
download | bugs-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
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/request/email.txt.tmpl | 3 |
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 %] |