andersju / webbkoll

An online tool that checks how a website is doing with regards to privacy
MIT License
266 stars 27 forks source link

Internationalized Domain Names (IDN) not recognized #34

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi,

I have tried testing one domain using punycode and Webbkoll service returned that domain is invalid. Is there a chance to allow Internationalized Domain Names (IDN) in punycode form?

[Edit]

It seems that service recognise redirection from regular to IDN domain which is a bit unusual : )

andersju commented 2 years ago

Shouldn't be a problem. E.g. https://räksmörgås.josefsson.org/ (https://xn--rksmrgs-5wao1o.josefsson.org/) works fine. "Invalid domain" is usually due to a new TLD that's not in our copy of the public suffix list (meaning we should update it :)).

Please give me an example of a domain that doesn't work. Email anders@unix.se if you don't want to mention it here.

andersju commented 2 years ago

It was indeed a problem; IDN TLDs didn't work, but should work now (b47305c). Thanks!

ghost commented 2 years ago

It works now. Closing the issue as resolved!