RSS Feed/News XenForo accepts invalid email addresses

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,683
Points
823

Reputation:

XenForo does accept email adresses like [email protected].

Such an email ist invalid because 1.1 ist not an IPv4 address, not an IPv6 address and not a valid FQDN:
RFC 3696: Application Techniques for Checking and Transformation of Names
There is an additional rule that essentially requires that top-level domain names not be all-numeric
Click to expand...

PHP's built-in filter methods would correctly reject such an email:
PHP:

var_dump(filter_var('[email protected]', FILTER_VALIDATE_EMAIL));

Continue reading...
 
Status
Not open for further replies.
Top