Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into reject-replies-to-deleted

This commit is contained in:
Lain Soykaf 2024-05-27 15:19:53 +04:00
commit 4d6316b488
12 changed files with 176 additions and 5 deletions

View file

@ -23,7 +23,7 @@ defmodule Pleroma.Web.RichMedia.Parser.TTL.AwsSignedUrl do
%URI{host: host, query: query} = URI.parse(image)
is_binary(host) and String.contains?(host, "amazonaws.com") and
String.contains?(query, "X-Amz-Expires")
is_binary(query) and String.contains?(query, "X-Amz-Expires")
end
defp aws_signed_url?(_), do: nil