[fix-meetingId-not-trim-error] - add validation
This commit is contained in:
parent
b229a4eb8a
commit
e3efc2929f
@ -123,6 +123,9 @@ class ApiController {
|
||||
if(!(validationResponse == null)) {
|
||||
invalid(validationResponse.getKey(), validationResponse.getValue())
|
||||
return
|
||||
} else if (ParamsUtil.sanitizeString(params.meetingID) != params.meetingID) {
|
||||
invalid("idInvaid", "Meeting ID is invalid")
|
||||
return
|
||||
}
|
||||
|
||||
// Ensure unique TelVoice. Uniqueness is not guaranteed by paramsProcessorUtil.
|
||||
|
Loading…
Reference in New Issue
Block a user