From f7e65e242384c157e1f010115e9071694c868ebc Mon Sep 17 00:00:00 2001 From: Irka Date: Fri, 1 Aug 2014 10:21:31 +0200 Subject: [PATCH] MT#5879 Not all characters should be quoted (cherry picked from commit 1a1362db7e0685864cbe33b1f60c46a70c7f15b2) --- share/tools/generate_invoices.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/tools/generate_invoices.pl b/share/tools/generate_invoices.pl index 8d4eacbec8..058f126d15 100755 --- a/share/tools/generate_invoices.pl +++ b/share/tools/generate_invoices.pl @@ -283,11 +283,11 @@ sub generate_invoice_data{ $client_contact->{country} = country($client_contact->{country} || ''); foreach(keys %$client_contact){ - $client_contact->{$_} = encode_entities($client_contact->{$_}); + $client_contact->{$_} = encode_entities($client_contact->{$_}, '<>&"'); } $provider_contact->{country} = country($provider_contact->{country} || ''); foreach(keys %$provider_contact){ - $provider_contact->{$_} = encode_entities($provider_contact->{$_}); + $provider_contact->{$_} = encode_entities($provider_contact->{$_}, '<>&"'); } # TODO: if not a full month, calculate fraction? #TODO: to utils::contract and share with catalyst version