servoshell
servoshell copied to clipboard
.im is not considered a TLD
Typing "metajack.im" into the url bar takes me to duckduckgo instead of to the url. I'm guessing the TLD detection needs a bit of expansion.
relevant code: https://github.com/paulrouget/servoshell/blob/2235fb865cdecbefbb4ee108750411399b38ce8a/src/main.rs#L233
We should use servo::net_traits::is_pub_domain.
We should use
servo::net_traits::is_pub_domain.
I agree - trying to properly handle TLDs in the embedding is a losing game - they're just too complex and require large-ish tables and such.
I'm confused, is_pub_domain seems to allow more that what resources/pub_domain.txt is listing.