From 1b438fd167368623ad9a0fbec92552e520f77bf5 Mon Sep 17 00:00:00 2001 From: Phantasm Date: Sat, 27 Sep 2025 14:30:22 +0200 Subject: [PATCH] MediaProxy: fix query params test Elixir and Erlang both add a traling = when encoding queries --- test/pleroma/web/media_proxy_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pleroma/web/media_proxy_test.exs b/test/pleroma/web/media_proxy_test.exs index 718892665..7a845b7a7 100644 --- a/test/pleroma/web/media_proxy_test.exs +++ b/test/pleroma/web/media_proxy_test.exs @@ -73,7 +73,7 @@ defmodule Pleroma.Web.MediaProxyTest do end test "encodes and decodes URL and ignores query params for the path" do - url = "https://pleroma.soykaf.com/static/logo.png?93939393939&bunny=true" + url = "https://pleroma.soykaf.com/static/logo.png?93939393939=&bunny=true" encoded = MediaProxy.url(url) assert String.ends_with?(encoded, "/logo.png") assert decode_result(encoded) == url