From c7a3393c7ee9cce0603dbddbcc2612ec868a9d9c Mon Sep 17 00:00:00 2001 From: Alexander Green Date: Tue, 11 Aug 2026 14:18:33 +0200 Subject: [PATCH 1/2] Broaden trailing slashes to empty path segments --- sections/designRules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sections/designRules.md b/sections/designRules.md index abddf71..fe794ab 100644 --- a/sections/designRules.md +++ b/sections/designRules.md @@ -83,11 +83,11 @@ https://api.example.org/v1/vergunningen/d285e05c-6b01-45c3-92d8-5e19a946b66f
-

Leave off trailing slashes from URIs

+

Avoid empty path segments from URIs

Statement
- A [=URI=] MUST NOT contain a trailing slash. When requesting a resource including a trailing slash, this MUST result in a `404` (not found) error response and not a redirect. This forces API consumers to use the correct [=URI=]. + A [=URI=] MUST NOT contain empty path segments. When requesting a resource including a trailing slash or consecutive slashes, this MUST result in a `404` (not found) error response and not a redirect. This forces API consumers to use the correct [=URI=].
This rule does not apply to the root resource (append / to the service root URL).
From f4211e234569ea2edf447d0bdc805337a23f636c Mon Sep 17 00:00:00 2001 From: Alexander Green Date: Tue, 11 Aug 2026 14:40:28 +0200 Subject: [PATCH 2/2] rule id Co-authored-by: Tim van der Lippe --- sections/designRules.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sections/designRules.md b/sections/designRules.md index fe794ab..b4482bb 100644 --- a/sections/designRules.md +++ b/sections/designRules.md @@ -82,7 +82,8 @@ https://api.example.org/v1/vergunningen/d285e05c-6b01-45c3-92d8-5e19a946b66f -
+ +

Avoid empty path segments from URIs

Statement