Skip Menu |
 

This queue is for tickets about the WWW-Form CPAN distribution.

Report information
The Basics
Id: 32211
Status: resolved
Worked: 30 min
Priority: 0/
Queue: WWW-Form

People
Owner: SHLOMIF [...] cpan.org
Requestors: metalalisa [...] aks-studio.com.ua
Cc:
AdminCc:

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



Subject: Email Validation
Download (untitled) / with headers
text/plain 266b
I validate an Email in domain with "-" (e.g. abc-def.com) Method validate() returns error. I'd replace RegExp at line 119 FieldValidator.pm with /^[\w\-\.\+]+@([\w\-]+)(\.([\w\-]+))+$/ Now it works! Please, correct this file on CPAN. Thanks. Best regards, Alex.
Download (untitled) / with headers
text/plain 487b
On Wed Jan 09 15:08:23 2008, alexkvak wrote: Show quoted text
> I validate an Email in domain with "-" (e.g. abc-def.com) > Method validate() returns error. > I'd replace RegExp at line 119 FieldValidator.pm with > /^[\w\-\.\+]+@([\w\-]+)(\.([\w\-]+))+$/ > > Now it works! > > Please, correct this file on CPAN. >
Done in version 1.18. Also added a test. Note that WWW-Form is deprecated and you really should be using something else. Regards, Shlomi Fish Show quoted text
> Thanks. > Best regards, Alex.
Fixed in the CPAN - closing.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.