Bug#521177: Net::HTTP has the same problem

Ruzsa Balazs ruzsa.balazs at interware.co.hu
Thu Mar 26 08:58:40 UTC 2009


Net::HTTP::Methods line #167:

...
return join($CRLF, "$method $uri HTTP/$ver", @h2, @h, "", $content);

If $content is a string of bytes (as opposed to a string of characters),
then joining them with the rest (which are strings of characters) will
do an Encode::decode('iso-8859-1', ...) on $content and use the result
in the concatenation.





More information about the pkg-perl-maintainers mailing list