fix: add older variables to whitelist (#8095)

pull/8096/head^2
Nafees Nazik 2023-04-05 14:05:32 +05:30 committed by GitHub
parent d7aa3c7163
commit cefe4754c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -85,6 +85,12 @@ export const validateCustomEventName = (
"{Organiser}",
"{Scheduler}",
"{Location}",
//allowed for fallback reasons
"{LOCATION}",
"{HOST/ATTENDEE}",
"{HOST}",
"{ATTENDEE}",
"{USER}",
]);
const matches = value.match(/\{([^}]+)\}/g);
if (matches?.length) {