0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

modules/federation/send: urldecode txnid into buffer.

This commit is contained in:
Jason Volk 2020-01-06 16:22:57 -08:00
parent f952cecfbb
commit 94aebfb4bf

View file

@ -104,9 +104,10 @@ handle_put(client &client,
"txn_id path parameter required"
};
char txn_id_buf[128];
const auto txn_id
{
request.parv[0]
url::decode(txn_id_buf, request.parv[0])
};
const string_view &origin