Relative links vs scheme-less links
plugd
plugd at thelambdalab.xyz
Tue Jun 2 20:24:16 BST 2020
colecmac at protonmail.com writes:
> link. This works fine when it actually is a relative link, but what
> about this?
> => makeworld.gq/gemlog/ Link to gemlog
> 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.
The // are part of the authority section of the URI, which includes the
host. If this weren't the case, the intepretation of the URI would be ambiguous.
To specify the host but not the scheme you need
=> //makeworld.gq/gemlog/
Sean's client torture test is actually a great source of information on
things like this, and any client that passes it is going to behave in
the same way. It'd be nice to have it made explict somewhere else too.
plugd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200602/d7f5be9f/attachment.sig>
More information about the Gemini
mailing list