From b9060767a4193ee117b78132958f0a864623bcc9 Mon Sep 17 00:00:00 2001 From: Rik Sprenkels <73279207+kad-sprenr@users.noreply.github.com> Date: Wed, 21 Jan 2026 11:51:38 +0100 Subject: [PATCH 1/3] Sta relatieve Server API URL toe. --- media/linter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/linter.yaml b/media/linter.yaml index c096d7b8..4929d355 100644 --- a/media/linter.yaml +++ b/media/linter.yaml @@ -193,7 +193,7 @@ rules: field: url function: pattern functionOptions: - match: ^https://.* + match: ^(https://.*|/.*) #/core/error-handling/problem-details nlgov:use-problem-schema: From d1870ee5e773c2dc33bdb54c7c6b3448f4f88a6e Mon Sep 17 00:00:00 2001 From: Rik Sprenkels <73279207+kad-sprenr@users.noreply.github.com> Date: Wed, 11 Feb 2026 15:00:17 +0100 Subject: [PATCH 2/3] Allow protocol relative urls and paths with traversals. --- media/linter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/linter.yaml b/media/linter.yaml index 4929d355..4128f37e 100644 --- a/media/linter.yaml +++ b/media/linter.yaml @@ -193,7 +193,7 @@ rules: field: url function: pattern functionOptions: - match: ^(https://.*|/.*) + match: ^(https://|//|/|\.{1,2}/).* #/core/error-handling/problem-details nlgov:use-problem-schema: From 0d0b1e419aa3580e2bc59a2254bdc86be2a79df8 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Mon, 18 May 2026 16:02:38 +0200 Subject: [PATCH 3/3] Gebruik negatie met http --- media/linter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/linter.yaml b/media/linter.yaml index 4128f37e..97dd3647 100644 --- a/media/linter.yaml +++ b/media/linter.yaml @@ -193,7 +193,7 @@ rules: field: url function: pattern functionOptions: - match: ^(https://|//|/|\.{1,2}/).* + notMatch: ^http://.* #/core/error-handling/problem-details nlgov:use-problem-schema: