From cc1dbe62cc0b856f3ec35fade99562fd32af7c21 Mon Sep 17 00:00:00 2001 From: ulith Date: Sat, 18 Jan 2025 01:34:22 +1300 Subject: [PATCH] reversed the reverse and made a whitelist blacklist white again --- lib/pleroma/web/media_proxy.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/media_proxy.ex b/lib/pleroma/web/media_proxy.ex index c5087c42c..66b048332 100644 --- a/lib/pleroma/web/media_proxy.ex +++ b/lib/pleroma/web/media_proxy.ex @@ -52,7 +52,7 @@ defmodule Pleroma.Web.MediaProxy do @spec url_proxiable?(String.t()) :: boolean() def url_proxiable?(url) do - not local?(url) and not whitelisted?(url) and not blocked?(url) + not local?(url) and whitelisted?(url) and not blocked?(url) end def preview_url(url, preview_params \\ []) do