On Tuesday, 6 May 2025 17:28:30 CEST Philip Homburg wrote:
> > In my experience this is done using regular-expression matching,
> > and that's all. 
> 
> 
> At least for Firefox, I think John is right and it is the PSL.
> 
> If I start typing foo.internal then Firefox suggests visiting the
> domain. If I then continue with foo.internal2 then Firefox only suggests
> searching. Only an explicit list would know about that difference.

I went looking for evidence of this in Firefox' source code, and found it in 
their repository 
under these links.
https://github.com/mozilla-firefox/firefox/blob/main/netwerk/dns/
effective_tld_names.dat[1]
https://publicsuffix.org/list/public_suffix_list.dat[2]
Interestingly, neither mentions the use of .internal. Maybe it's a 
distribution-specific thing?

For LibreOffice, I am seeing their source code mentioned at the links below.
https://www.libreoffice.org/about-us/source-code/[3]
I have mirrored this repository into my Gitea instance, under their MPL 2.0 
license. It is 
not, however, continuously updating.
https://git.nixmagic.com/mir/libreoffice[4]
Still working on the search there, but if you want to have a kick at it 
yourself, feel free to 
use my Gitea instance to do so.

For Telegram, I had a chat with some of the people working on Telegram Desktop. 
They 
mentioned it to be handled on their servers, which is a proprietary component.
https://t.me/TelegramDesktopTalk/132893[5]
But it shouldn't be too difficult to write some code that sends examples for 
every TLD in 
the PSL and reads back how Telegram formatted them. A well-behaved userbot - 
one that 
doesn't make it a fire-hose of messages - could easily do that.

-- 
Met vriendelijke groet,
Michael De Roover

Mail: i...@nixmagic.com
Web: michael.de.roover.eu.org

--------
[1] https://github.com/mozilla-firefox/firefox/blob/main/netwerk/dns/
effective_tld_names.dat
[2] https://publicsuffix.org/list/public_suffix_list.dat
[3] https://www.libreoffice.org/about-us/source-code/
[4] https://git.nixmagic.com/mir/libreoffice
[5] https://t.me/TelegramDesktopTalk/132893
_______________________________________________
DNSOP mailing list -- dnsop@ietf.org
To unsubscribe send an email to dnsop-le...@ietf.org

Reply via email to