Skip Menu |

This queue is for tickets about the Net-ICAP CPAN distribution.

Report information
The Basics
Id: 118671
Status: resolved
Priority: 0/
Queue: Net-ICAP

People
Owner: corliss [...] digitalmages.com
Requestors: mark-cpan [...] carnildo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
Thanks for catching that, this is now fixed in v0.04, which is being uploaded to CPAN now.