diff --git a/bbb-common-web/src/main/java/org/bigbluebutton/api/model/validator/ContentTypeValidator.java b/bbb-common-web/src/main/java/org/bigbluebutton/api/model/validator/ContentTypeValidator.java index 7c10477a1b..b54a069b4e 100644 --- a/bbb-common-web/src/main/java/org/bigbluebutton/api/model/validator/ContentTypeValidator.java +++ b/bbb-common-web/src/main/java/org/bigbluebutton/api/model/validator/ContentTypeValidator.java @@ -1,7 +1,6 @@ package org.bigbluebutton.api.model.validator; -import jakarta.ws.rs.core.MediaType; -import org.apache.commons.compress.utils.Sets; +import org.apache.http.entity.ContentType; import org.bigbluebutton.api.model.constraint.ContentTypeConstraint; import org.bigbluebutton.api.model.request.Request; import org.slf4j.Logger; @@ -10,7 +9,6 @@ import org.slf4j.LoggerFactory; import javax.servlet.http.HttpServletRequest; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; -import java.util.Set; public class ContentTypeValidator implements ConstraintValidator { @@ -31,7 +29,17 @@ public class ContentTypeValidator implements ConstraintValidator