logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 1b438fd167368623ad9a0fbec92552e520f77bf5
parent d413f9bf7078cf93c3efcd0ae195539dd3c7ede0
Author: Phantasm <phantasm@centrum.cz>
Date:   Sat, 27 Sep 2025 14:30:22 +0200

MediaProxy: fix query params test

Elixir and Erlang both add a traling = when encoding queries

Diffstat:

Mtest/pleroma/web/media_proxy_test.exs2+-
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 @@ -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