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

are file nodes always local relative paths? #17

Open
pketh opened this issue Mar 13, 2024 · 2 comments
Open

are file nodes always local relative paths? #17

pketh opened this issue Mar 13, 2024 · 2 comments

Comments

@pketh
Copy link

pketh commented Mar 13, 2024

reading the spec, I 'm unsure whether file nodes are meant to be relative local path references to files on the user's own machine only, or are they also for remote files with absolute urls too? eg (https://cdn.kinopio.club/71ta143mwPRfinHf9t-ML/kaomoji-palette-main.zip)

@pketh pketh changed the title are file nodes always relative paths? are file nodes always local relative paths? Mar 13, 2024
@nichtich
Copy link

This also applies to url in link type nodes. The spec should reference RFC 3986 for resolving URI references and allow both absolute URLs and relative URI references in both file and url.

@pketh
Copy link
Author

pketh commented Mar 20, 2024

the tldr of RFC 3986 is that if the url starts with http:// or https:// it can be considered a web url ?

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

No branches or pull requests

3 participants
@nichtich @pketh and others