From ff7d3b4ff3b45d7216dd7cabcd82a6a58350a592 Mon Sep 17 00:00:00 2001 From: Peter Van Bouwel Date: Wed, 18 Dec 2024 13:43:45 +0100 Subject: [PATCH] make sure workspace id is DNS compliant Also avoid additional dots as it would give problems if virtual hosting is ever needed. --- extensions/workspaces/openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/workspaces/openapi.yaml b/extensions/workspaces/openapi.yaml index 7d314daa..d304ae2c 100644 --- a/extensions/workspaces/openapi.yaml +++ b/extensions/workspaces/openapi.yaml @@ -301,7 +301,7 @@ components: schemas: workspace_id: type: string - pattern: '^[A-Za-z0-9][\w\-\.~]{0,62}$' + pattern: '^[a-z0-9][a-z0-9\-]{0,62}$' example: my-workspace workspace_title: type: string