diff --git a/modules/key/server.cc b/modules/key/server.cc index 8ada23bbe..07f11e485 100644 --- a/modules/key/server.cc +++ b/modules/key/server.cc @@ -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]