From 214293323c01940d94b7e0c05846f43a1bb7b805 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 13 Aug 2021 20:44:35 +0200 Subject: [PATCH] Fix urlencoded path in federation client signature check --- lib/matrix_server_web/federation_client.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matrix_server_web/federation_client.ex b/lib/matrix_server_web/federation_client.ex index 93dd339..4979493 100644 --- a/lib/matrix_server_web/federation_client.ex +++ b/lib/matrix_server_web/federation_client.ex @@ -53,7 +53,7 @@ defmodule MatrixServerWeb.FederationClient do object_to_sign = %{ method: "GET", - uri: path, + uri: URI.decode_www_form(path), origin: origin, destination: server_name }