grafluxe/email-validator-pro

Test lies because of escaping bug

Opened this issue · 0 comments

Readme claims that The below are valid (but rare) email addresses that are not supported. It seems that some tests lie because of escaping bugs.
For example if you'd replace following unescaped string in test
"very.(),:;<>[]\".VERY.\"very@\\ \"very\".unusual"@strange.example.com
with escaped version
"very.(),:;<>[]\\".VERY.\\"very@\\\\ \\"very\\".unusual"@strange.example.com
then test would reveal, that this email pattern is actually supported by this library :)