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

Petite Abeille petite.abeille at gmail.com
Sat Dec 26 22:26:36 GMT 2020



> On Dec 26, 2020, at 21:25, colecmac at protonmail.com wrote:
> 
> appears to be coded to follow RFCs very strictly

Looking at url/url.go, the implementation seems more pragmatic than dogmatic:

https://github.com/golang/go/blob/master/src/net/url/url.go

A fascinating read. But a strict RFC grammar it's not. 

It has gone through a long and tumultuous history:

https://github.com/golang/go/commits/49a210eb87da6b7ac960cac990337ef4dc113b0d/src/net/url/url.go

Either way, would preprocessing an IRI into an URL help? Similarly to the Java situation.







More information about the Gemini mailing list