mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-06 17:03:25 +02:00
Fix SVG upload, broken when working on EXIF tags
This commit is contained in:
@@ -361,7 +361,7 @@ sub add {
|
||||
$thumb .= b64_encode $im->ImageToBlob();
|
||||
}
|
||||
|
||||
unless (defined($keep_exif) && $keep_exif) {
|
||||
unless ((defined($keep_exif) && $keep_exif) || $mediatype eq 'image/svg+xml') {
|
||||
# Remove the EXIF tags
|
||||
my $data = new IO::Scalar \$upload->slurp();
|
||||
my $et = new Image::ExifTool;
|
||||
|
||||
Reference in New Issue
Block a user