profile
viewpoint

Ask questionsExclamation marks and asterisks issue

Issue summary

Some suffixes in public_suffix_list.dat are prefixed with exclamation marks or asterisks and it's an issue.

Some examples:

  • !city.kawasaki.jp
  • *.awdev.ca

System informations

Information Description
Pdp version 6.0.0
PHP version 8.0.2
OS Platform Ubuntu

Standalone code, or other way to reproduce the problem

echo Rules::fromPath('/public_suffix_list.dat')->resolve('www.city.kawasaki.jp')->registrableDomain()->value();
echo Rules::fromPath('/public_suffix_list.dat')->resolve('www.awdev.ca')->registrableDomain()->value();

Expected result

www.city.kawasaki.jp www.awdev.ca

Actual result

null null

jeremykendall/php-domain-parser

Answer questions alex-bacart

Well, actually I don't share your opinion about an expected behavior. But let it be.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List