summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2023-02-09 12:28:02 -0500
committerLain Soykaf <lain@lain.com>2023-02-09 12:28:02 -0500
commite412363ff8fd34469ffa0ca4c3679af03e6507d6 (patch)
treef5250f060941d9d5c93ee9553312a58afe114a96 /lib
parent2eec3f82072cc48443d10d52a48742924469cee1 (diff)
parent2a244b391d8c1d9d8e960532758110928cb5ef7c (diff)
downloadpleroma-e412363ff8fd34469ffa0ca4c3679af03e6507d6.tar.gz
pleroma-e412363ff8fd34469ffa0ca4c3679af03e6507d6.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into test-warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/upload/filter/exiftool/strip_location.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/upload/filter/exiftool/strip_location.ex b/lib/pleroma/upload/filter/exiftool/strip_location.ex
index 6100527d3..f2bcc4622 100644
--- a/lib/pleroma/upload/filter/exiftool/strip_location.ex
+++ b/lib/pleroma/upload/filter/exiftool/strip_location.ex
@@ -14,6 +14,7 @@ defmodule Pleroma.Upload.Filter.Exiftool.StripLocation do
# Formats not compatible with exiftool at this time
def filter(%Pleroma.Upload{content_type: "image/heic"}), do: {:ok, :noop}
def filter(%Pleroma.Upload{content_type: "image/webp"}), do: {:ok, :noop}
+ def filter(%Pleroma.Upload{content_type: "image/svg" <> _}), do: {:ok, :noop}
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
try do