From: Don Armstrong Date: Thu, 8 Mar 2007 20:08:01 +0000 (-0800) Subject: * Only encode "'<>& for now; will change back once the UTF8 madness X-Git-Tag: release/2.6.0~581^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=44730bd4ad4c476587b6500bc2186de06c2cac4c;p=debbugs.git * Only encode "'<>& for now; will change back once the UTF8 madness is sorted --- diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm index 0fd19af..73b5bb6 100644 --- a/Debbugs/CGI.pm +++ b/Debbugs/CGI.pm @@ -154,7 +154,7 @@ Escapes html entities by calling HTML::Entities::encode_entities; sub html_escape{ my ($string) = @_; - return HTML::Entities::encode_entities($string) + return HTML::Entities::encode_entities($string,q(<>&"')); } =head2 cgi_parameters