Skip Menu |

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

Report information
The Basics
Id: 63578
Status: resolved
Priority: 0/
Queue: MooseX-Types-Email

People
Owner: ether [...] cpan.org
Requestors: JIRA [...] cpan.org
Cc:
AdminCc:

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



Subject: Problem with email addresses containing newline
Hi, the EmailAddress is declared to be of type NonEmptySimpleStr, ie it cannot contain newline. But in fact email can contain \n character and Email::Valid (which is alos used for validation) will validate such email address. Kind Regards, Jiri
On 2010-12-03 17:01:12, JIRA wrote: Show quoted text
> Hi, > > > the EmailAddress is declared to be of type NonEmptySimpleStr, ie it > cannot contain newline. But in fact email can contain \n character and > Email::Valid (which is alos used for validation) will validate such > email address.
Can you give an example of such an address that Email::Valid accepts? I've been unable to concoct one that it will find acceptable.
On 2013-05-04 09:56:51, ETHER wrote: Show quoted text
> On 2010-12-03 17:01:12, JIRA wrote:
> > Hi, > > > > > > the EmailAddress is declared to be of type NonEmptySimpleStr, ie it > > cannot contain newline. But in fact email can contain \n character
> and
> > Email::Valid (which is alos used for validation) will validate such > > email address.
> > Can you give an example of such an address that Email::Valid accepts? > I've been unable to concoct one that it will find acceptable.
Ok, "foo\@bar.com\n" is accepted by Email::Valid - I'll use that as the test case. 0.005 released.