-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Description
Describe the bug
In Firefox, the favicon is displayed correctly in the browser tab but is not persisted for bookmarks.
The reason is that /favicon.ico is served as text/html (SPA fallback) instead of image/x-icon in the default setup.
Firefox can use SVG favicons, but if /favicon.ico is invalid, it will not store any bookmark icon. Chrome is more tolerant and falls back to the SVG automatically.
Steps to reproduce
- Start the OpenCloud Docker bundle according to the official documentation (no changes, no external proxy).
- Open the instance in Firefox.
- Open DevTools → Network → filter for
favicon. - Observe:
GET /favicon.ico→Content-Type: text/html(~10 KB HTML).GET /favicon.svg→Content-Type: image/svg+xml(correct icon).
- Save the site as a bookmark → the bookmark has no icon.
Expected behavior
/favicon.icoshould be a real ICO file served withContent-Type: image/x-icon./favicon.svgshould be served withContent-Type: image/svg+xml.- Both paths should be excluded from SPA fallback rewrites.
<link rel="icon">should be included in the initial HTML pointing to these files.
Actual behavior
- Firefox receives HTML instead of an ICO file for
/favicon.icoand therefore does not store a bookmark icon. - The icon is visible in the browser tab (from the SVG) but not in bookmarks.
Setup
- Standard setup from the official Docker-Compose documentation
- https://docs.opencloud.eu/de/docs/admin/getting-started/container/docker-compose/docker-compose-base
- No external proxy or server modifications
Additional context
- Reproducible in Firefox 141.0 on Windows 10.
- Chrome does not show the issue because it falls back to the SVG icon.
- The problem occurs with the default Traefik configuration in the bundle (SPA catch-all serves HTML for
/favicon.ico).
AlexAndBear
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done