encode `&key=` as fixed-width 8-digit hex (#5652)

This commit is contained in:
tearfur 2023-06-22 00:53:06 +08:00 committed by Charles Kerr
parent 47a3a92a0e
commit 4343926441
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ void announce_url_new(tr_urlbuf& url, tr_session const* session, tr_announce_req
"&downloaded={downloaded}"
"&left={left}"
"&numwant={numwant}"
"&key={key}"
"&key={key:08X}"
"&compact=1"
"&supportcrypto=1",
fmt::arg("url", req.announce_url),