Closed
Description
👟 Reproduction steps
This occurs for domains with * in the suffix list: https://publicsuffix.org/list/public_suffix_list.dat
for example:
$domain = new Domain('example.com.jm');
$domain->getSuffix();
👍 Expected behavior
"com.jm"
👎 Actual Behavior
"" (empty)
🎲 Utopia Domain version
Version 0.2.x
💻 Operating system
Linux
🐘 PHP Version
PHP 7.4.x
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct