1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 11:23:40 +00:00

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 GitHub
parent 432fc9bafc
commit 40e80989b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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),