~adnano/gemini

2 2

spec clarification request: scheme omission

Martin Keegan <martin@no.ucant.org>
Details
Message ID
<alpine.DEB.2.20.2005240103040.18317@pling.qwghlm.org>
DKIM signature
missing
Download raw message
Hello,

The spec says, at 1.2, that:

"<URL> is a UTF-8 encoded absolute URL, of maximum length 1024 bytes.
If the scheme of the URL is not specified, a scheme of gemini:// is
implied."

Is this supposed to allow one or both of

   //hostname.domain:port/filename
   hostname.domain:port/filename

as synonyms for

   gemini://hostname.domain:port/filename

?

Mk

-- 
Martin Keegan, +44 7779 296469, @mk270, https://mk.ucant.org/
Sean Conner <sean@conman.org>
Details
Message ID
<20200524015850.GD23998@brevard.conman.org>
In-Reply-To
<alpine.DEB.2.20.2005240103040.18317@pling.qwghlm.org> (view parent)
DKIM signature
missing
Download raw message
It was thus said that the Great Martin Keegan once stated:
> 
> Hello,
> 
> The spec says, at 1.2, that:
> 
> "<URL> is a UTF-8 encoded absolute URL, of maximum length 1024 bytes.
> If the scheme of the URL is not specified, a scheme of gemini:// is
> implied."
> 
> Is this supposed to allow one or both of
> 
>   //hostname.domain:port/filename
>   hostname.domain:port/filename
> 
> as synonyms for
> 
>   gemini://hostname.domain:port/filename

  	//hostname:port/filename

  Per the URL spec (RFC-3986), the '//' is part of the host portion of the
URL.

  -spc
Details
Message ID
<C2YLF2ITRJXA.3C09C7XGY1FAR@freebsd.lan>
In-Reply-To
<20200524015850.GD23998@brevard.conman.org> (view parent)
DKIM signature
missing
Download raw message
On Sat May 23, 2020 at 5:58 PM EDT, Sean Conner wrote:
> //hostname:port/filename
>
> Per the URL spec (RFC-3986), the '//' is part of the host portion of the
> URL.

That's also what gemini-diagnostics[1] uses in its URLSchemeMissing test.

[1] https://github.com/michael-lazar/gemini-diagnostics

int 80h
Reply to thread Export thread (mbox)