Skip to content

Conversation

@elboulangero
Copy link
Contributor

A URL without a scheme is NOT a relative URL.

Unfortunately I used this wrong term in a bunch of commit messages before. Sorry for the confusion.

Fortunately I didn't use the term in any place of the code, except this very comment, so fix it now.

For the avid reader: Wikipedia tells us that we can use the term "Protocol-relative URLs":

Protocol-relative links (PRL), also known as protocol-relative URLs
(PRURL), are URLs that have no protocol specified. For example,
//example.com will use the protocol of the current page, typically
HTTP or HTTPS

However that's not what we use for HTTP+HTTPS mirrors, we use URLs that have only a host and a path. I'm still looking for the right term for that, if any...

A URL without a scheme is NOT a relative URL.

Unfortunately I used this wrong term in a bunch of commit messages
before. Sorry for the confusion.

Fortunately I didn't use the term in any place of the code, except this
very comment, so fix it now.

For the avid reader: Wikipedia tells us that we can use the term
"Protocol-relative URLs":

> Protocol-relative links (PRL), also known as protocol-relative URLs
> (PRURL), are URLs that have no protocol specified. For example,
> `//example.com` will use the protocol of the current page, typically
> HTTP or HTTPS

However that's not what we use for HTTP+HTTPS mirrors, we use URLs that
have only a host and a path. I'm still looking for the right term for
that, if any...
@jbkempf jbkempf merged commit 70097d2 into etix:master Apr 2, 2025
3 checks passed
@elboulangero elboulangero deleted the relative-urls-no-more branch April 2, 2025 16:08
@jbkempf jbkempf added this to the v0.6.1 milestone Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants