diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-10-27 11:24:17 -0400 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-10-27 12:08:09 -0400 |
commit | 766d55d2439f63d20dcda10411ebc5665205f977 (patch) | |
tree | 79a24dadbb2ac9bcec7c2b75c6f1c816a1c0c157 | |
parent | ec5b34c097718b91d98d90fece500864e50892b9 (diff) |
RT# 73422 Fix XSS
-rw-r--r-- | httemplate/search/contact.html | 8 |
1 files changed, 4 insertions, 4 deletions
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') }, |