Skip to content

tests for rolename/targetpath encoding #125

@jku

Description

@jku

We want to test that

  • clients use correctly URL encoded rolenames and targetpaths in the request URLs. My read on spec is:
    • rolenames should be URL encoded so that also "/" is encoded: rolename should not include "sub-directories"
    • targetpath should be URL encoded so that "/" is not encoded: targetpath may include sub-directories
  • clients do not use unsafe encoding when handling filepaths:
    • we don't want to define how to encode filepaths because the spec does not
    • we can test that when we download delegated metadata or artifacts
      • the metadata download or artifact download succeeds when we expect it to
      • a file appears in clients TARGET_DIR or METADATA_DIR (and was not e.g. written to ../)

I have a crude initial test, will upload after #115

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions