mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: fix empty RecordingProperty "name"
parent
e325f9956d
commit
95a2c4c58d
|
@ -973,7 +973,7 @@ public class SessionRestController {
|
|||
throw new Exception("\"session\" parameter is mandatory");
|
||||
}
|
||||
|
||||
if (nameParam != null) {
|
||||
if (nameParam != null && !nameParam.isEmpty()) {
|
||||
if (!sessionManager.formatChecker.isValidRecordingName(nameParam)) {
|
||||
throw new Exception("Parameter 'name' is wrong. Must be an alphanumeric string [a-zA-Z0-9_-]+");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue