When creating a toot including a link to a .gay url, a link shoud be generated.
Instead, it is displayed as plain text.

Also happen in the profile metada.
Making a toot with a link to a .gay website
Mastodon v3.2.1
As far as I can tell, this is handled by app/javascript/mastodon/features/compose/util/url_regex.js (to correctly compute character count client-side, as links count for a fixed amount of characters regardless of their real length) and the twitter-text gem server-side. We're using a very old version of that gem, so it's likely newer versions include more TLDs.
Most helpful comment
As far as I can tell, this is handled by
app/javascript/mastodon/features/compose/util/url_regex.js(to correctly compute character count client-side, as links count for a fixed amount of characters regardless of their real length) and thetwitter-textgem server-side. We're using a very old version of that gem, so it's likely newer versions include more TLDs.