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:
parent
cd8d034240
commit
086dfc4839
1 changed files with 1 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue