Skip to content

Commit

Permalink
make sure workspace id is DNS compliant
Browse files Browse the repository at this point in the history
Also avoid additional dots as it would give problems if virtual hosting
is ever needed.
  • Loading branch information
Peter Van Bouwel committed Dec 18, 2024
1 parent e6730a1 commit ff7d3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/workspaces/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff7d3b4

Please sign in to comment.