From 684839235e6f4f2896a3403b9c4ea43cdcc61282 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 1 Oct 2020 15:50:16 -0700 Subject: [PATCH] ircd::m::fed: Remove trailing solidus on send request. --- matrix/fed.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/fed.cc b/matrix/fed.cc index 3758595c0..31398dee8 100644 --- a/matrix/fed.cc +++ b/matrix/fed.cc @@ -119,7 +119,7 @@ ircd::m::fed::send::send(const string_view &txnid, thread_local char txnidbuf[256]; json::get<"uri"_>(opts.request) = fmt::sprintf { - buf, "/_matrix/federation/v1/send/%s/", + buf, "/_matrix/federation/v1/send/%s", url::encode(txnidbuf, txnid), };