0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:Ⓜ️:fed: Remove legacy trailing slash on key/server request.

This commit is contained in:
Jason Volk 2023-02-22 12:20:23 -08:00
parent bb84740517
commit cd6eb8ed0a

View file

@ -1429,13 +1429,13 @@ ircd::m::fed::key::keys::keys(const server_key &server_key,
{
json::get<"uri"_>(opts.request) = fmt::sprintf
{
buf, "/_matrix/key/v2/server/%s/",
buf, "/_matrix/key/v2/server/%s",
key_id
};
consume(buf, size(json::get<"uri"_>(opts.request)));
}
else json::get<"uri"_>(opts.request) = "/_matrix/key/v2/server/";
else json::get<"uri"_>(opts.request) = "/_matrix/key/v2/server";
}
return request