mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
modules/federation/send: urldecode txnid into buffer.
This commit is contained in:
parent
f952cecfbb
commit
94aebfb4bf
1 changed files with 2 additions and 1 deletions
|
@ -104,9 +104,10 @@ handle_put(client &client,
|
||||||
"txn_id path parameter required"
|
"txn_id path parameter required"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
char txn_id_buf[128];
|
||||||
const auto txn_id
|
const auto txn_id
|
||||||
{
|
{
|
||||||
request.parv[0]
|
url::decode(txn_id_buf, request.parv[0])
|
||||||
};
|
};
|
||||||
|
|
||||||
const string_view &origin
|
const string_view &origin
|
||||||
|
|
Loading…
Reference in a new issue