From: Mitch Jackson Date: Sat, 27 Oct 2018 15:24:17 +0000 (-0400) Subject: RT# 73422 Fix XSS X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=766d55d2439f63d20dcda10411ebc5665205f977 RT# 73422 Fix XSS --- diff --git a/httemplate/search/contact.html b/httemplate/search/contact.html index 35a74a593..50935baf4 100644 --- a/httemplate/search/contact.html +++ b/httemplate/search/contact.html @@ -162,10 +162,10 @@ my %classname = # And now for something completly different: my @report = ( - { label => 'First', field => sub { encode_entities shift->contact_first }}, - { label => 'Last', field => sub { encode_entities shift->contact_last }}, - { label => 'Title', field => sub { encode_entities shift->contact_title }}, - { label => 'E-Mail', field => sub { encode_entities shift->contact_email_emailaddress }}, + { label => 'First', field => 'contact_first' }, + { label => 'Last', field => 'contact_last' }, + { label => 'Title', field => 'contact_title' }, + { label => 'E-Mail', field => 'contact_email_emailaddress' }, { label => 'Work Phone', field => $get_phone_sub->('Work') }, { label => 'Mobile Phone', field => $get_phone_sub->('Mobile') }, { label => 'Home Phone', field => $get_phone_sub->('Home') },