Skip to content

Update URL definition to clarify dereferencing#1625

Open
jandrieu wants to merge 2 commits intomainfrom
jandrieu-URLs-may-dereference
Open

Update URL definition to clarify dereferencing#1625
jandrieu wants to merge 2 commits intomainfrom
jandrieu-URLs-may-dereference

Conversation

@jandrieu
Copy link
Copy Markdown
Contributor

@jandrieu jandrieu commented Mar 21, 2026

The URL definition stated, incorrectly, that URLs can be dereferenced. Unfortunately, that is not true under the WhatWG definition, including treats all URIs as URLs, such that a URN in the WhatWG context is a URL, despite the fact that you cannot dereference it.

This should be a simple clarification, which might mean it is merely editorial. However, looking at the edit out of context, it is redefining a normative definition. However, I do think it is a security error to have incompatible definitions between the id property and the url definition.

Addresses #1624


Preview | Diff

The URL definition stated, incorrectly, that URLs can be dereferenced. Unfortunately, that is not true under the WhatWG definition, including treats all URIs as URLs, such that a URN in the WhatWG context *is* a URL, despite the fact that you cannot dereference it.

This should be a simple clarification, which might mean it is merely editorial. However, looking at the edit out of context, it is redefining a normative definition. However, I do think it is a security error to have incompatible definitions between the `id` property and the `url` definition.

Addresses #1624
Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
@w3c w3c deleted a comment from tupeorpesadilla69 Apr 3, 2026
Copy link
Copy Markdown
Member

@TallTed TallTed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

5 participants