Tue Nov 08 03:54:09 2016mark-cpan [...] carnildo.com - Ticket created
Subject:
Net::ICAP::Message mangles embedded newlines in chunked content
Date:
Tue, 8 Nov 2016 00:53:54 -0800
To:
bug-Net-ICAP [...] rt.cpan.org
From:
Mark Wagner <mark-cpan [...] carnildo.com>
In the function _readChunked in Net::ICAP::Message 0.03, the following
code breaks handling of binary files:
# Trim line separator appended to chunk
$chunk =~ s/\r\n$//sm;
The inclusion of the "/m" modifier causes any embedded 0x0d 0x0a bytes
within the data chunk to be dropped.