You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We copy the above link as a string, paste it to Mastodon, and post the status. Then, the link is recognized as a punycode like the following, and we cannot access to the true server.
Is there a standard that says were not supposed to recognize this as the literal form? In my view this is working as designed—google.com and ᴳoogle.com are two different URLs
Do you mean that the link "ᴳoogle.com" leads you to a server that is different from google.com? In other words, does your browser recognize the following two links as the same URL in the end?
Mastodon uses addressable for Punycode encoding, and addressable uses lbidn which only supports IDNA2003. So using it should be an error due to unassigned code points, but it's allowed now by ALLOW_UNASSIGNED option (c.f. #4496).
Options:
Don't care: Twitter also encodes it to https://www.xn--oogle-r89a.com.
Use UTS#46: libidn2 with IDN2_TRANSITIONAL option does this, although I don't know Ruby bindings for libidn2.
For example, the following URL is recognized correctly, but it's not on Mastodon.
https://www.ᴳoogle.com
We copy the above link as a string, paste it to Mastodon, and post the status. Then, the link is recognized as a punycode like the following, and we cannot access to the true server.
https://www.xn--oogle-r89a.com
master
(If you're a user, don't worry about this).The text was updated successfully, but these errors were encountered: