Bug 2.3.7 - icon upload with image optimization mime error

There is a bug in this version
B

briansol

Guest
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:

1761225862602.webp

Page_Container template:
Code:

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...

Read more

Continue reading...