Merge pull request #16570 from GuiLeme/fix-meetingId-not-trim-error
fix: Fix error when meetingID is not trimed.
This commit is contained in:
commit
0b06e17744
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user