Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__cmwc_t URIs should be absolute too? #159

Open
thomas-fossati opened this issue Jan 9, 2025 · 1 comment · May be fixed by #162
Open

__cmwc_t URIs should be absolute too? #159

thomas-fossati opened this issue Jan 9, 2025 · 1 comment · May be fixed by #162
Assignees

Comments

@thomas-fossati
Copy link
Collaborator

Allowed types for __cmwc_t values are:

  • absolute (i.e., non-relative) OIDs
  • URIs

Note that a (URI) relative reference can be any string (more or less), including the empty one.

Besides, a relative OID in dot-decimal notation (e.g., .2.3.4) parses OK as a relative reference, making the restriction we put on OID a bit moot.

Thirdly, it is completely undetermined what URI would be the base to resolve a relative form.

For these reasons, I advise we make URIs absolute too.

@deeglaze
Copy link
Contributor

Agreed.

thomas-fossati added a commit that referenced this issue Jan 22, 2025
Fix #159

Signed-off-by: Thomas Fossati <[email protected]>
@thomas-fossati thomas-fossati linked a pull request Jan 22, 2025 that will close this issue
@thomas-fossati thomas-fossati self-assigned this Jan 22, 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 a pull request may close this issue.

2 participants