Relative links vs scheme-less links

Petite Abeille petite.abeille at gmail.com
Tue Jun 2 20:17:00 BST 2020



> On Jun 2, 2020, at 20:49, colecmac at protonmail.com wrote:
> 
> I am just writing these wrong, and scheme-less links should always start
> with `//`? The spec says "a scheme of gemini:// is implied", so I assumed
> having those would be redundant.

Sometime, the simplest things turn out not to be so simple :)

See RFC-3986, section 5.2.2, Relative Resolution:

https://tools.ietf.org/html/rfc3986#section-5.2

And of course, all of Sean's torture tests:

https://portal.mozz.us/gemini/gemini.conman.org/test/torture/


More information about the Gemini mailing list