vboctor / disposable_email_checker

Project that tracks the list of domains that are open domains or disposable domains with libraries in multiple languages to consume such lists.
http://www.mantishub.com
MIT License
45 stars 19 forks source link

Subdomained addresses like *.bulc.club are not factored #8

Open ba66e77 opened 8 years ago

ba66e77 commented 8 years ago

The Bulc Club service uses an @*.bulc.club domain, where the wildcard portion is created by the service user. The current implementation of the domain checking has no means to catch variants of *.bulc.club domains unless each variant is included in the static list.

vboctor commented 8 years ago

We can model it in the data files as .bulc.club and update the code to handle such case by using a custom method rather than in_array() that can do string match or match subdomains against .

Pull requests are welcome.