Development

#462 (sfEmailValidator accepts user@host)

You must first sign up to be able to contribute.

Ticket #462 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

sfEmailValidator accepts user@host

Reported by: awbacker Assigned to: slickrick
Priority: minor Milestone: 0.6.3
Component: Version: 0.6.2
Keywords: Cc:
Qualification:

Description

The email validator appears to be accepting invalid email addresses of the form : awbacker@gmail (user@host).

Change History

04/25/06 11:04:21 changed by anonymous

According to the rfc822 specification local@domain is a valid mail address. Not usual for internet addresses maybe but in local intranets its possible and quite usual to have an email address like that.

04/26/06 13:16:22 changed by fabien

  • milestone set to 0.6.3.

prehaps we can add a parameter to be more strict if needed?

05/01/06 06:45:02 changed by anonymous

Possibly making the stricter interpretation the default, with an option to allow the technically correct version. I don't recall this (user@host) being accepted in the previous verson of the email validator. I don't think it's likely that most people desire the loose (or "correct") behavior most of the time.

05/03/06 17:15:04 changed by pookey@pookey.co.uk

I agree that by default, the domain should be fully qualified. Allowing non-FQDNs should be an option.

06/13/06 08:24:52 changed by slickrick

  • owner set to slickrick.

Fixed in r1425 and r1426

(had a little commit issue so it took two times (o_O)!

06/13/06 14:34:01 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r1437