Open ywarnecke opened 1 month ago
With #35, the way images are loaded changed by using base64 instead of loading it directly in the frontend.
This works fine for png and jpeg, but is problematic with .svg images. Uploading .svg files is allowed however and causes the application to crash.
A quick solution for production systems would be to forbid the upload of .svg files.
However, ideally it should be possible to also use svg files for the logo, so the mechanism should be adjusted to also allow this.
With #35, the way images are loaded changed by using base64 instead of loading it directly in the frontend.
This works fine for png and jpeg, but is problematic with .svg images. Uploading .svg files is allowed however and causes the application to crash.
A quick solution for production systems would be to forbid the upload of .svg files.
However, ideally it should be possible to also use svg files for the logo, so the mechanism should be adjusted to also allow this.