From 41edfece4a535565f7f5891ef59f7a570b2d3309 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sun, 5 Jul 2026 11:03:25 +1000 Subject: [PATCH] schema update --- src/static/schema/state.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/schema/state.schema.json b/src/static/schema/state.schema.json index 8806b2e..c1412fb 100644 --- a/src/static/schema/state.schema.json +++ b/src/static/schema/state.schema.json @@ -411,7 +411,7 @@ }, "src_rel": { "minLength": 1, - "pattern": "^[^/].*", + "pattern": "^(?!\\.\\.?(?:/|$))[^/\\u0000-\\u001f\\\\]+(?:/(?!\\.\\.?(?:/|$))[^/\\u0000-\\u001f\\\\]+)*$", "type": "string" } },