OK -
The question is - why does the following fail:
isValid("email","name&[EMAIL PROTECTED]")
If the answer you supplied was "because an email with & in it is invalid"
then your answer is likely wrong. If you answered that isValid incorrectly
returns a failure response, your likely correct.
But that doesn't answer the question I'm trying to ask (and not well) - I
have a user with an email like " name&[EMAIL PROTECTED]" - and I use isValid
and other Regex expressions to filter, all which find the & sign invalid.
Is there a way to modify the isValid response to allow for the & sign (and
others, like + signs)?
Do I have to scrap all my uses of isValid and replace with a different
process?
References:
http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-addres
s-until-i.aspx
http://www.bennadel.com/index.cfm?dax=blog:265.view
Stephen Cassady
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294346
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4