diff --git a/src/openforms/formio/api/validators.py b/src/openforms/formio/api/validators.py index af1d042443..6fc85492a5 100644 --- a/src/openforms/formio/api/validators.py +++ b/src/openforms/formio/api/validators.py @@ -132,9 +132,10 @@ def __call__(self, value: UploadedFile) -> None: # which is deprecated but still we need to support it. Instead, the common # case for zip files is application/zip or application/zip-compressed # mimetype. + # libmagic 5.46+ doesn't detect application/zip anymore. case ( "application/zip-compressed" | "application/x-zip-compressed", - "application/zip", + "application/zip" | "application/octet-stream", "zip", ): return