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
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.
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.