summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index f3e3685f7..f9342e11f 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -194,6 +194,7 @@ sub create {
$var =~ s/([\\\'\"])/\\$1/g;
$var =~ s/\n/\\n/g;
$var =~ s/\r/\\r/g;
+ $var =~ s/\@/\\x40/g; # anti-spam for email addresses
return $var;
},