Re: [whatwg/url] Can a registrable domain or public suffix have a trailing dot? (Issue #693)

Well, one way of reading the above is that if you pass in `example.com.`, its public suffix is `com`, not `com.`. (I'm not sure if that's what led to the error in Fetch, per https://github.com/whatwg/fetch/pull/1257 it might just be oversight, but I justified it not listing "`localhost.`" to myself at least once because of that.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/693#issuecomment-1113290662
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/693/1113290662@github.com>

Received on Friday, 29 April 2022 13:08:19 UTC