Fix urlencoded path in federation client signature check

This commit is contained in:
Pim Kunis 2021-08-13 20:44:35 +02:00
parent c5de486dba
commit 214293323c

View file

@ -53,7 +53,7 @@ defmodule MatrixServerWeb.FederationClient do
object_to_sign = %{ object_to_sign = %{
method: "GET", method: "GET",
uri: path, uri: URI.decode_www_form(path),
origin: origin, origin: origin,
destination: server_name destination: server_name
} }