From 9ffb329314a71647f37c4bab6e5e9d3789606407 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sun, 6 Apr 2025 13:43:23 +0200 Subject: [PATCH] subpath: parsing stops after segments are clear Signed-off-by: Jan Kowalleck --- purl-specification.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/purl-specification.md b/purl-specification.md index 7b1189cb..47168824 100644 --- a/purl-specification.md +++ b/purl-specification.md @@ -492,8 +492,9 @@ To parse a `purl` string in its components: - Percent-decode each segment - Discard any ‘.’ or ‘..’ segment from that split - UTF-8-decode each segment if needed in your programming language - - Join segments back with a ‘/’ - - This is the `subpath` + - This list of path segments is the ``subpath`` + - You may escape these path segments if needed by your environment (operating system, file system, programming language, shell, etc) + - You may join these path segments with the path delimiter of your environment (operating system, file system, etc) - Split the `remainder` once from right on ‘?’