Skip to content

Commit fecee7b

Browse files
committed
annotations: restrict character set of ref.name values
URI are standard enough. Though the most concise character set for the URI is in the https://tools.ietf.org/html/rfc3986 unless I missed something. Fixes #599 Signed-off-by: Vincent Batts <[email protected]>
1 parent f03dbe3 commit fecee7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

annotations.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ This specification defines the following annotation keys, intended for but not l
2525
* **org.opencontainers.image.version** [Semantic versioning-compatible](http://semver.org/) version of the packaged software.
2626
* **org.opencontainers.image.revision** Source control revision identifier for packaged software.
2727
* **org.opencontainers.image.vendor** Name of the distributing entity, organization or individual.
28-
* **org.opencontainers.image.licenses** Comma-separated list of licenses under which contained software is distributed, in [SPDX Short identifier](https://spdx.org/licenses/) form.
29-
* **org.opencontainers.image.ref.name** Name of the reference for a target (string). SHOULD only be considered valid when on descriptors on `index.json` within [image layout](image-layout.md).
28+
* **org.opencontainers.image.licenses** Comma-separated list of licenses under which contained software is distributed, in [SPDX Short identifier]https://spdx.org/licenses/] form.
29+
* **org.opencontainers.image.ref.name** Name of the reference for a target (string).
30+
* SHOULD only be considered valid when on descriptors on `index.json` within [image layout](image-layout.md).
31+
* Character set of the value SHOULD conform to the [Uniform Resource Identifier (URI) RFC3986](https://tools.ietf.org/html/rfc3986) [`segment-nz`](https://tools.ietf.org/html/rfc3986#section-3.3).

0 commit comments

Comments
 (0)