--- Robert Leland <[EMAIL PROTECTED]> wrote: > David Graham wrote: > > >--- Jerry Jalenak <[EMAIL PROTECTED]> wrote: > > > > > >>Is there a published specification on e-mail addresses? > >> > >> > > > >I believe it's RFC 822. > > > > > > > >>The reason I > >>ask is > >>that we are using the 'email' validator, and it's accepting as valid > >>e-mail > >>addresses such as 'u-+-+%^_/[EMAIL PROTECTED]'. I didn't think > Validator > >>would accept these, but apparently is it. If there's not an > established > >>spec for e-mail addresses, then I would assume that anything goes.... > >> > >> > > > > > > > I believe that the name part needs to be quoted. However, I believe > currently validator will still > count this as a valid email. I haven't gotten around to tweaking the > regexp. To handle these cases > the user name pattern/expression will need to increase in complexity by > a factor of 3 or so. > How about an option that would allow only struct user names checking, > ie [a-z][A-Z] and '.'.
+1 on the new option but I think the allowed characters should be a-zA-Z0-9_.- > The clunky part is both the client and server > versions of the regexp > need to change. I believe I would actually like to make the client side > checking more course, > ie allow any email in the form of [EMAIL PROTECTED], then let the java take care > of full validation, > what do you think ? +1. Javascript is merely a convenience for the user and it's a pain to maintain this complex logic in 2 places. David > > > > >Unfortunately, I think that's a valid email address as defined in the > RFC. > > > >David > > > > > > > >>Comments? > >> > >>Jerry Jalenak > >>Team Lead, Web Publishing > >>LabOne, Inc. > >>10101 Renner Blvd. > >>Lenexa, KS 66219 > >>(913) 577-1496 > >> > >>[EMAIL PROTECTED] > >> > >> > >>This transmission (and any information attached to it) may be > >>confidential and is intended solely for the use of the individual or > >>entity to which it is addressed. If you are not the intended recipient > >>or the person responsible for delivering the transmission to the > >>intended recipient, be advised that you have received this > transmission > >>in error and that any use, dissemination, forwarding, printing, or > >>copying of this information is strictly prohibited. If you have > received > >>this transmission in error, please immediately notify LabOne at the > >>following email address: [EMAIL PROTECTED] > >> > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design software > >http://sitebuilder.yahoo.com > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]