fix: add older variables to whitelist (#8095)

This commit is contained in:
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

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) {