Bug#745823: libwww-perl: an https request with iso-8859-1 headers, chunked transfer and data with utf8 bit on is corrupted.

John Hughes john at calva.com
Sat Apr 26 16:12:42 UTC 2014


On 26/04/14 16:11, John Hughes wrote:
>
> Maybe something like
>
>     if (utf8::is_utf8($data)) {
>         eval {
>             utf8::downgrade ($data);
>         };
>         croak "content not bytes" if $@;
>     }
>
>
That's ridiculously over the top.

We could just unconditionaly call "utf8::downgrade ($data);"



More information about the pkg-perl-maintainers mailing list