Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accent in name part #13

Closed
kcassam opened this issue Jun 12, 2014 · 2 comments
Closed

accent in name part #13

kcassam opened this issue Jun 12, 2014 · 2 comments

Comments

@kcassam
Copy link

kcassam commented Jun 12, 2014

têst@github.com pass the validator

It should pass the validator.

As an example, if I use the following code, this addresses does not pass the validator :

public static function ValidateAddress($address) {
    if(filter_var($address, FILTER_VALIDATE_EMAIL) === false) {
        return false;
    }
    // We only check the presence of a dot on the domain part
    $components = explode("@", $address);
    $domain = $components[1];
    if (strpos($domain, ".") === false) {
        return false;
    }
    return true;
}
@egulias
Copy link
Owner

egulias commented Jun 17, 2014

Hi @kcassam as exposed in the Symfony issue:

@kcassam here are some references regarding your comments:

@kcassam
Copy link
Author

kcassam commented Jun 17, 2014

see here why this has to be closed symfony/symfony#11108 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants