Merge pull request #16570 from GuiLeme/fix-meetingId-not-trim-error

fix: Fix error when meetingID is not trimed.
This commit is contained in:
Anton Georgiev 2023-01-26 14:59:14 -05:00 committed by GitHub
commit 0b06e17744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,9 @@ class ApiController {
if(!(validationResponse == null)) {
invalid(validationResponse.getKey(), validationResponse.getValue())
return
} else if (ParamsUtil.sanitizeString(params.meetingID) != params.meetingID) {
invalid("validationError", "Invalid meeting ID")
return
}
// Ensure unique TelVoice. Uniqueness is not guaranteed by paramsProcessorUtil.