We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbf71a commit ae69778Copy full SHA for ae69778
src/Client.php
@@ -68,7 +68,7 @@ public static function normalize(string $email): string
68
assert(defined('MB_CASE_FOLD') && function_exists('idn_to_ascii'));
69
70
$localEnd = strrpos($email, '@');
71
- if (false === $localEnd) {
+ if (false === $localEnd || $localEnd + 1 === strlen($email)) {
72
return '';
73
}
74
0 commit comments