Skip to content

Commit a8e27c3

Browse files
fix: allow hyphens, dots, and underscores in Dialpad meeting URL validation (calcom#28253)
The Dialpad conferencing integration's URL regex only accepted alphanumeric characters in the meeting room path ([a-zA-Z0-9]+), causing valid personal meeting URLs containing hyphens, dots, or underscores to fail validation. For example, https://meetings.dialpad.com/mmit-russ is rejected despite being a valid Dialpad personal meeting link. The sample URL shown in the error message (alphanumeric only) passes, but real-world room names commonly use hyphens and other characters. Updated the urlRegExp character class from [a-zA-Z0-9] to [a-zA-Z0-9._-] to match all valid Dialpad meeting room slugs. Fixes issue introduced in calcom#15444. Co-authored-by: Sahitya Chandra <sahityajb@gmail.com>
1 parent c026bed commit a8e27c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app-store/dialpad/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"label": "{TITLE}",
1616
"linkType": "static",
1717
"organizerInputPlaceholder": "https://meetings.dialpad.com/adb2002",
18-
"urlRegExp": "^https:\\/\\/meetings\\.dialpad\\.com\\/[a-zA-Z0-9]+$"
18+
"urlRegExp": "^https:\\/\\/meetings\\.dialpad\\.com\\/[a-zA-Z0-9._-]+$"
1919
}
2020
},
2121
"description": "A new way to meet, with built-in Ai",

0 commit comments

Comments
 (0)