Skip to content

[Bug]: Favicon not updated after upload in admin panel #274

Description

@Kabelkrant

Description

After uploading a .svg file as favicon in the Admin Branding-panel, the front-end still refers to the default Bulwark icon:

<link rel="icon" href="/icon.svg?5db4b8021d2ef31f" type="image/svg+xml" sizes="any"/>

Tested with Firefox and Chrome with a cleared cache and incognito mode.

The svg in question:
Image

Steps to Reproduce

  1. Login to /admin
  2. Go to branding
  3. Upload a .svg as favicon
  4. Go to the webmail as a normal user
  5. The favicon in the source code still refers to the default Bulwark icon:

<link rel="icon" href="/icon.svg?5db4b8021d2ef31f" type="image/svg+xml" sizes="any"/>

Expected Behavior

The favicon should be refering to the uploaded variant.

Actual Behavior

The default Bulwark-favicon is displayed

Bulwark Version

0.16.4

Stalwart Mail Server Version

0.16.5

Browser

Firefox

Operating System

Windows

Screenshots / Screen Recording

Image Image

Relevant Logs or Error Output

Additional Context

docker-compose:

services:
  webmail:
    image: ghcr.io/bulwarkmail/webmail:latest
    ports:
      - 3000:3000
    env_file:
      - .env
    volumes:
      - bulwark-settings:/app/data/settings
      - bulwark-admin:/app/data/admin
      - bulwark-admin-state:/app/data/admin-state
      - bulwark-telemetry:/app/data/telemetry
    restart: unless-stopped
volumes:
  bulwark-settings: null
  bulwark-admin: null
  bulwark-admin-state: null
  bulwark-telemetry: null
networks: {}

.env file:

JMAP_SERVER_URL=https://mail.onderzone.nl
SETTINGS_SYNC_ENABLED=true
STALWART_FEATURES=true
ADMIN_PASSWORD=(redacted)
BULWARK_TELEMETRY=off
SESSION_SECRET=(redacted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions