You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app that ends up using Spring's org.springframework.http.converter.ActivationMediaTypeFactory which configured the org/springframework/mail/javamail/mime.types file with the Java Activation Framework. That file, however, resolves PNG images as the *image/x-png* image type, which I only noticed because my version of Safari (10.1; OS X) refuses to display images with that MIME type.
I believe the official MIME type for PNG images is *image/png* and thus believe this file could be changed to reflect that, instead of image/x-png.
For what it's worth, I notice the org/springframework/http/mime.types file uses image/png already.
Matt Magoffin opened SPR-15546 and commented
I have an app that ends up using Spring's
org.springframework.http.converter.ActivationMediaTypeFactory
which configured theorg/springframework/mail/javamail/mime.types
file with the Java Activation Framework. That file, however, resolves PNG images as the*image/x-png*
image type, which I only noticed because my version of Safari (10.1; OS X) refuses to display images with that MIME type.I believe the official MIME type for PNG images is
*image/png*
and thus believe this file could be changed to reflect that, instead ofimage/x-png
.For what it's worth, I notice the
org/springframework/http/mime.types
file usesimage/png
already.Affects: 4.3.7
Issue Links:
Referenced from: commits e835f4d, f80b2d9
The text was updated successfully, but these errors were encountered: