Closed bestwebua closed 3 years ago
This bug comes from #162, #163.
https://github.com/truemail-rb/truemail/blob/d8f4bee3586f35fb505b4c6a34e5f0cb049f117f/lib/truemail/validate/mx.rb#L57
Punycode email representation doesn't match to Truemail::RegexConstant::REGEX_EMAIL_PATTERN(because this regex matches UTF look, and not ASCII).
Truemail::RegexConstant::REGEX_EMAIL_PATTERN
Call:
Truemail.validate('niña@mañana.com')
Exception:
ArgumentError: cannot interpret as DNS name: nil
Already fixed in latest (2.4.6) truemail release.
2.4.6
This bug comes from #162, #163.
https://github.com/truemail-rb/truemail/blob/d8f4bee3586f35fb505b4c6a34e5f0cb049f117f/lib/truemail/validate/mx.rb#L57
Punycode email representation doesn't match to
Truemail::RegexConstant::REGEX_EMAIL_PATTERN
(because this regex matches UTF look, and not ASCII).Call:
Exception: