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

tough: metapath interpretation may need refinement #421

Open
webern opened this issue Oct 19, 2021 · 0 comments
Open

tough: metapath interpretation may need refinement #421

webern opened this issue Oct 19, 2021 · 0 comments

Comments

@webern
Copy link
Contributor

webern commented Oct 19, 2021

In 1809b9b we added logic to sanitize role names and target names before they are used as filepaths or URL paths. However, in snapshots.json we store the raw (unsanitized) names as the METAPATH, which is defined as:

: METAPATH :: A string giving the file path of the metadata on the repository relative to the metadata base URL. For snapshot.json, these are top-level targets metadata and delegated targets metadata.

It's a bit unclear whether we should be storing the raw/unsanitized names or the 'resolved' names.

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

1 participant