2.3.7 - icon upload with image optimization mime error

briansol

Well-known member
Affected version
2.3.7
2.3.7, with webp optimization enabled,
upload a png for the favicon/og images in style properties, it converts it to webp:
1761225785602.webp

The source code still presents it with a hard-coded mime type of png:



Page_Container template:
Code:
    <xf:if is="property('publicFaviconUrl')">
        <link rel="icon" type="image/png" href="{{ base_url(property('publicFaviconUrl'), true) }}" sizes="32x32" />
    </xf:if>

should not have hard-coded type if the optimizer changes mime on optimize.
 
Last edited:
Back
Top Bottom