From cb4f569bad89b65ad0d5fe4bd8f6c6bc589272cf Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Sun, 21 Jun 2026 21:51:56 +0200 Subject: [PATCH] Enforce strict validation of system/partition/environment names Signed-off-by: Vasileios Karakasis --- reframe/schemas/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reframe/schemas/config.json b/reframe/schemas/config.json index 668cac0ee..55c30f424 100644 --- a/reframe/schemas/config.json +++ b/reframe/schemas/config.json @@ -5,11 +5,11 @@ "defs": { "alphanum_string": { "type": "string", - "pattern": "([a-zA-Z_][a-zA-Z0-9_]*)" + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" }, "alphanum_ext_string": { "type": "string", - "pattern": "([a-zA-Z_]([a-zA-Z0-9_]|-)*)" + "pattern": "^[a-zA-Z_](?:[a-zA-Z0-9_-])*$" }, "system_ref": { "type": "array",