Skip to content

The colon ':', whether used as a Separator Character or otherwise MUST NOT be percent-encoded #574

@iseki0

Description

@iseki0
  • The following characters MUST NOT be percent-encoded:
    • the colon ':', whether used as a Separator Character or otherwise, and

- The following characters MUST NOT be percent-encoded:
- the Alphanumeric Characters,
- the Punctuation Characters,
- the Separator Characters when being used as ``purl`` separators,
- the colon ':', whether used as a Separator Character or otherwise, and
- the percent sign '%' when used to represent a percent-encoded character.

{
"description": "Build test for <class 'type'> PURL",
"test_group": "base",
"test_type": "build",
"input": {
"type": "oci",
"namespace": null,
"name": "hello-wasm",
"version": "sha256:244fd47e07d10",
"qualifiers": {
"tag": "v1"
},
"subpath": null
},
"expected_output": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1",
"expected_failure": false,
"expected_failure_reason": null
}

"expected_output": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1", ?

Maybe the whole testcases should be reviewed?

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