knu / ruby-domain_name

Domain Name manipulation library for Ruby
Other
106 stars 23 forks source link

"web.app" domain is not considered canonical #21

Closed sairam closed 4 years ago

sairam commented 4 years ago

"web.app" domain is not considered canonical

DomainName("web.app").canonical? # => false

can anyone helpout what canonical means? Its not documented. I assume it can be considered an acceptable domain name

sairam commented 4 years ago

realized domain_name gem checks based on public suffix list which is supposed to be used for where cookies should be saved at.