Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 63745
Status: rejected
Priority: 0/
Queue: Email-Valid

People
Owner: Nobody in particular
Requestors: bitcard93445 [...] rainslide.net
Cc:
AdminCc:

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



Subject: Address With Space
An address with a space after @ returns as valid, when it shouldn't: Show quoted text
> perl -MEmail::Valid -lE "say ( Email::Valid->address('user@
example.com') ? 'yes' : 'no' )" yes Same symptom in perls 5.10.1, 5.10.0, and 5.8.8, all Linux 2.6 kernels.
This is correct, documented behavior. "If the address passes all checks, the (possibly modified) address is returned as a string." In other words: ~$ perl -MEmail::Valid -lE 'my $result = Email::Valid->address(q{user@ example.com}); say $result' user@example.com -- rjbs