From 95791d4b9edc26cd55483e71970d9f743f12f094 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 12 Sep 2003 05:57:06 +0000 Subject: Bug 120030 - Bugzilla bug lists are a spammer's paradise. Patches by lots of people, but in the end by gerv; r,a=justdave. --- Bugzilla/Template.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 06be9243c..f3e3685f7 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -249,10 +249,10 @@ sub create { # Format a time for display (more info in Bugzilla::Util) time => \&Bugzilla::Util::format_time, - # Simple filter to obscure the '@' in user visible strings + # Override html filter to obscure the '@' in user visible strings # See bug 120030 for details - obscure_email => sub { - my ($var) = @_; + html => sub { + my ($var) = Template::Filters::html_filter(@_); $var =~ s/\@/\@/g; return $var; }, -- cgit v1.2.3-24-g4f1b