0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

modules/key/server: Bypass parameter tokenization for endpoint.

This commit is contained in:
Jason Volk 2020-10-12 17:08:42 -07:00
parent cd8d034240
commit 086dfc4839

View file

@ -33,9 +33,7 @@ handle_get(client &client,
char key_id_buf[256];
const auto key_id
{
request.parv.size() > 0?
url::decode(key_id_buf, request.parv[0]):
string_view{}
request.params
};
m::keys::get(my_host(), key_id, [&client]