Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Simple CPAN distribution.

Report information
The Basics
Id: 60573
Status: rejected
Priority: 0/
Queue: Email-Simple

People
Owner: Nobody in particular
Requestors: guy.pyrzak [...] gmail.com
Cc:
AdminCc:

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



Subject: Email::Simple::Header->new does not read the last line of a header string because it lacks a newline
this line: while ($$head =~ m/\G(.+?)$crlf/go) { causes strings without a newline at the end of them to be ignored. This isn't documented and seems like a strange behavior.
If there's no newline, it's not valid input. I suppose if it ends in a \Z that's tolerable to accept as malformed but parsable. I don't see myself fixing this any time soon, but patches would be welcome! -- rjbs