git clone [email protected]:y-i/eTLD-match-checker.git
curl https://publicsuffix.org/list/public_suffix_list.dat | sed '/^$/d' | grep -v -- "//" > files/list.dat
pipenv install --dev
pipenv run server
- Go to http://localhost:8000/
pipenv run pytest
- null input
- Mixed case
- Leading dot
- Unlisted TLD
- Listed, but non-Internet, TLD
- TLD with only 1 rule
- TLD with some 2-level rules
- TLD with only 1 (wildcard) rule
- More complex TLD
- TLD with a wildcard rule and exceptions
- US K12
- IDN labels
- Same as above, but punycoded