SVGs lose their structure when uploaded to Fluxer

(#4584) Bug Open: Needs triage media

Reproduction steps

  1. Upload an SVG file
1.1 It can either be a channel or a self-hosted instance.
  1. Download the SVG file

Expected behaviour

When downloaded or uploaded, the SVGs retain their structure. Only the preview becomes WEBP if that is used for compatibility.

Actual behaviour

The SVGs are downloaded as WEBP and lose their file structure, making them WEBP instead of an SVG, despite having the .svg file format.

Build information

Stable Desktop 2026.1101.102918, Web 2026.1101.230756, Linux 7.2.14-arch1-1 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US

Platform

Linux, Android, Self-hosting

2 comments

Sign in with Fluxer to comment and vote.
Comment by Fullest
FullestReviewer 1 vote 1 reply
Pretty sure this is intended because accepting and serving back user-uploaded SVG files created a lot of security headaches.
Comment by akky yuyu
akky yuyu OP1 vote
If thats so, maybe an option to disable it for self-hosted branding could help, as it feels a bit misleading for it to tell you to upload an SVG file for the branding, but ends up being a WEBP instead, which makes the branding look blurry.