Closed jmdacruz closed 4 years ago
LGTM
Please add a release/tag when you get a chance. Thanks @jpillora!
Done :)
On 17 Nov 2020 at 12:45:14 pm, Marcelo Da Cruz Pinto < notifications@github.com> wrote:
Please add a release/tag when you get a chance. Thanks @jpillora https://github.com/jpillora!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jpillora/go-tld/pull/10#issuecomment-728631826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X44G7PJHRIA4U2Y5FXDSQHISVANCNFSM4TXSPXKA .
It looks like PublicSuffix is case sensitive when looking up TLDs, so
google.com
is ICANN-managed butgoogle.Com
is not, which is not correct (both are equivalent). This PR addresses this issue by lower-casing the domain before callingPublicSuffix