From 08ad4c07ea29fbd8eb2d2c556a2e18da9aba8501 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Mon, 27 Mar 2023 21:01:34 +0200 Subject: [PATCH] added better regex for whereby allowing subdomains (#7957) * added better regex for whereby allowing subdomains * Update packages/app-store/whereby/config.json Co-authored-by: Alex van Andel --------- Co-authored-by: Alex van Andel --- packages/app-store/whereby/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-store/whereby/config.json b/packages/app-store/whereby/config.json index 847a23e99e..e80d5f90de 100644 --- a/packages/app-store/whereby/config.json +++ b/packages/app-store/whereby/config.json @@ -19,7 +19,7 @@ "type": "integrations:whereby_video", "label": "Whereby Video", "organizerInputPlaceholder": "https://www.whereby.com/cal", - "urlRegExp": "^http(s)?:\\/\\/(www\\.)?(team.)?whereby.com\\/[a-zA-Z0-9]*" + "urlRegExp": "^(?:https?:\/\/)?(?:(?!.*-\.)(?:\w+(-\w+)*\.))*whereby\.com(\/[\w\-._~:?#\[\]@!$&'()*+,;%=]+)*$" } } }