spec clarification request: scheme omission

Martin Keegan <martin (a) no.ucant.org>


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/

Link to individual message.

Sean Conner <sean (a) conman.org>

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

Link to individual message.

int 80h <int (a) 80h.dev>

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

Link to individual message.

---

Previous Thread: [ANN] I started a gemlog!

Next Thread: [ANN] Big update to Bombadillo