-
Notifications
You must be signed in to change notification settings - Fork 107
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
Don't include example.com in disposable_emails.yml #59
Comments
Good spot, thanks! I removed example.com and release v1.2.9. |
This is back as of 2.1.0 - example.com is added back on line 1152 in Should I add a test so it will never happen again? |
Or, override with whitelist config? |
At this moment, I've monkey-patched with the following line in an initializer: ValidEmail2.disposable_emails.delete('example.com') |
@kenn Sorry for the late reply. |
example.com
is a special reserved domain defined in RFC 2606 that no provider can take.disposable_emails.yml
has to include any random string likefasdfatyiehjdnbsdfasd.com
which is valid in syntax but also unreachable in the same sense asexample.com
.example.com
domain for test fixtures / factories (because that's what it's intended for!), and all tests start to fail when we introduce this gem withdisposable: true
The text was updated successfully, but these errors were encountered: