From f490c89e98dfe5a2430847d59298d8df5b29af3d Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 22 Apr 2024 11:31:34 +0200 Subject: [PATCH] Seating plans: Do not allow GUIDs starting or ending with spaces (#4093) --- src/pretix/static/seating/seating-plan.schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/static/seating/seating-plan.schema.json b/src/pretix/static/seating/seating-plan.schema.json index 20ef84a08e..4ecabd1ea3 100644 --- a/src/pretix/static/seating/seating-plan.schema.json +++ b/src/pretix/static/seating/seating-plan.schema.json @@ -106,6 +106,7 @@ "properties": { "seat_guid": { "type": "string", + "pattern": "^[^ ].*[^ ]$", "description": "Seat global ID by which it can be identified. It should be globally unique (not just per row). It doesn't have to be pretty since it won't be shown to the user." }, "seat_number": {