[spec] IRIs, IDNs, and all that international jazz

Jason McBrayer jmcbray at carcosa.net
Wed Dec 23 16:34:46 GMT 2020


Sean Conner <sean at conman.org> writes:

>   1. Status quo
>   2. Clients take the hit (have to support both URL and IRI)
>   3. Clients and servers take the hit (both have to support URL and IRI)

Looking at 2, servers still have to take a hit here.

i. They need to de-punycode the hostname to compare it to configured
   virtual host names (unless virtual host names are configured in
   punycode).

ii. They need to url-decode the path in order to find matching file
    names; they have to do this already to handle reserved characters,
    though.

So the support needed for servers is possibly similar between 2 and 3.
Clients are hit a little harder by 2.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray at carcosa.net  |
| A flower falls, even though we love it; and a weed grows, |
| even though we do not love it.            -- Dogen        |


More information about the Gemini mailing list