Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into reject-replies-to-deleted
This commit is contained in:
commit
4d6316b488
12 changed files with 176 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue