Skip Menu |

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 8663
Status: new
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: steffen [...] genua.de
Cc:
AdminCc:

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



Subject: MIME::Decoder::NBit changes only some \r\n to \n
Code from MIME::Decoder::NBit while ($in->read($_, $DecodeChunkLength)) { $and_also = $in->getline; $_ .= $and_also if defined($and_also); ### Just got a chunk ending in a line. s/\015\012$/\n/g; $out->print($_); } The line 's/\015\012$/\n/g;' changes only the last \r\n in the buffer to \n because the pattern is followed by a $, patch would be: - s/\015\012$/\n/g; + s/\015\012/\n/g;