mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-07 09:22:46 +02:00
Force download if image is SVG
This commit is contained in:
@@ -75,6 +75,7 @@ sub startup {
|
||||
my $c = shift;
|
||||
my ($filename, $path, $mediatype, $dl, $expires, $nocache, $key, $thumb) = @_;
|
||||
|
||||
$dl = 'attachment' if ($mediatype =~ m/svg/);
|
||||
$filename = quote($filename);
|
||||
|
||||
my $asset;
|
||||
|
||||
Reference in New Issue
Block a user