diff --git a/web/client.ts b/web/client.ts index 4a63c69..1bb6bf8 100644 --- a/web/client.ts +++ b/web/client.ts @@ -717,7 +717,8 @@ export class Client { } try { - validatePageName(name); + const pagePart = name.split(/[@$]/)[0]; + validatePageName(pagePart); } catch (e: any) { return this.flashNotification(e.message, "error"); }