From 900e87c6cff0152452934f13d48a691596ad324c Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Mon, 13 Nov 2023 09:27:01 -0500 Subject: [PATCH] Escape forward slash in regexp (#488) Signed-off-by: Brandon Mitchell --- spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.md b/spec.md index 2c10397d..23e310eb 100644 --- a/spec.md +++ b/spec.md @@ -153,7 +153,7 @@ To pull a manifest, perform a `GET` request to a URL in the following form: The `` MUST NOT be in any other format. Throughout this document, `` MUST match the following regular expression: -`[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*` +`[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(\/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*` Throughout this document, `` as a tag MUST be at most 128 characters in length and MUST match the following regular expression: