-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow SVG images in favicons #1551
Conversation
Thank you @Toflar. |
Are you sure this is correct? Browsers always request |
The way I understood the spec is that in case the link meta tag is missing, the browser shall request |
On caniuse.com, the Reference section links Specification to https://html.spec.whatwg.org/multipage/links.html#rel-icon, which is titled 4.6.6.8 Link type "icon". That section says
So maaayyybeee that actually works … |
That's a valid point IMHO. Our @ausi /cc |
Of course it can? It does now? |
But doesn't the browser expect |
No, that‘s the whole idea of this spec :) |
I have tested this in Chrome, Firefox and Safari on Mac OS.
So we definitely have to overwrite the MIME type with |
See #1554 |
Description ----------- | Q | A | -----------------| --- | Fixed issues | contao/contao#1551 Commits ------- d5d58f80 Make sure the favicon controller sends the correct content-type header
Fixed restricting favicons to
.ico
only.See https://caniuse.com/#feat=link-icon-svg