Bugfix: Validate mediaType only by it's format
Otherwise unknown media types (ie. audio/flac
currently) would get stripped out and replaced to application/octet-stream
, thus breaking the display of the attachment.
Otherwise unknown media types (ie. audio/flac
currently) would get stripped out and replaced to application/octet-stream
, thus breaking the display of the attachment.