close

Filter

loading table of contents...

Release Notes / Version 13.2512.0

Table Of Contents

Image MIME Type Checked on Studio Upload

While CoreMedia Content Cloud only supports image file types jpeg, gif, and png, Studio does not prevent users to upload other types like bmp or tiff. Those cannot be transformed correctly and may lead to broken display in Studio image editor and in delivery by CAE and Headless Server. With this fix, the types uploadable via Studio are now restricted to the supported types jpeg, gif, and png. All other types will show an error message “The mime type … is not supported” and the upload will be rejected.

Should you require the ability to upload other types as well (though they may not be displayed correctly in Studio’s image editor nor be transformed correctly upon delivery), set Spring property com.coremedia.transform.accepted-mime-types to an empty value or to a comma-separated list of required MIME types. Do so for the Studio Server. In the case of an empty value, the system will behave as before the fix and accept all image file types that Java can handle natively.

The setting does not apply to other means of image import, like custom Unified API clients, Ingest Service or tool serverimport. Those do not perform image file type checks and allow all types to be uploaded.

When using the CoreMedia Image Transformation Service, only types jpeg, gif, and png are allowed. This behavior cannot be changed.

Upgrade information

Class com.coremedia.transform.dispatch.DispatchingBlobTransformer received a new method setAcceptedMimeTypes(Collection<MimeType>) to set the allowed MIME types. When setting up a bean of this type in your project, you may use the method to set the MIME types you want to allow. When using DispatchingBlobTransformer#accepts(MimeType) in your project code, you may also need to set Spring property com.coremedia.transform.accepted-mime-types on other components (CAE, Headless Server, custom clients) if you set it on the Studio Server.

(CMS-28095)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.