Bug#555733: libcgi-pm-perl: CGI::Utils::escape encodes wrongly to UTF-8

Niko Tyni ntyni at debian.org
Wed Nov 11 19:28:47 UTC 2009


# housekeeping
close 555733 3.43-1
tag 555733 lenny
thanks

On Wed, Nov 11, 2009 at 03:09:13PM +0200, Jukka Laaksola wrote:
> Package: libcgi-pm-perl
> Version: 3.38-2
> Severity: important
> Tags: l10n patch
 
> I had problems with ISO-8859-1 query_strings with CGI.pm and found that
> the reason is CGI::Utils::escape. There is a Perl ticket #49055 about that
> and also Debian bug #516129
>  
> The patch of Niko Tyni at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516129#30
> fixes the problem.
> 
> It's fixed in Debian perl-modules 5.10.1~rc2-1, but i am using Debian
> 5.0/lenny. Is there any plan to fix this escape bug in Debian lenny also?
> 
> I have mailed directly to Niko Tyni and he suggested to file a bug
> against  libcgi-pm-perl/3.38-2. But the CGI/Utils.pm of perl-modules package
> returns also incorrect query_string.

Just for clarification: the perl-modules package contains the module
versions released with the Perl core, and the separate libcgi-pm-perl
package is provided for those who need a newer (and thus hopefully
improved) version of CGI.pm.

Assuming we want to fix this for lenny, I think it therefore makes more
sense to do it in libcgi-pm-perl than in perl-modules. I'm open to other
suggestions though.

As for whether this meets the stable update criteria: I think the impact
is big enough for a fix and this is a regression from Etch, I'm just a
bit afraid of it breaking something else. While that does seem improbable,
I'd love to hear the opinions of others in the Debian Perl group.

I'm attaching an updated patch for 3.38-2, including the related test
suite improvement.
-- 
Niko Tyni   ntyni at debian.org


More information about the pkg-perl-maintainers mailing list