-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
BugIncorrect BehaviorIncorrect Behavior
Description
Parent issue: #669
If you run the client including the announce
suffic in the tracker URL:
cargo run -p torrust-tracker-client --bin http_tracker_client announce https://tracker.torrust-demo.com/announce 000620bbc6c52d5a96d98f6c0f1dfa523a40df82
You get this error:
Error: Returned a non-success code: "404 Not Found" with the response: "Response { url: "https://tracker.torrust-demo.com/announceannounce?info_hash=%00%06%20%BB%C6%C5%2DZ%96%D9%8Fl%0F%1D%FAR%3A%40%DF%82&peer_addr=192.168.1.88&downloaded=0&uploaded=0&peer_id=%2DqB00000000000000001&port=17548&left=0&event=started&compact=0", status: 404, headers: {"server": "nginx", "date": "Mon, 09 Jun 2025 09:43:32 GMT", "content-length": "0", "connection": "keep-alive", "x-request-id": "c042ae4b-64aa-457f-9942-640ede83d512", "x-frame-options": "SAMEORIGIN", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "referrer-policy": "no-referrer-when-downgrade", "content-security-policy": "default-src * data: 'unsafe-eval' 'unsafe-inline'"} }"
Becuase the URL path announce
is duplicated in the final URL:
https://tracker.torrust-demo.com/announceannounce
It should be allowed to use the long URL format.
Metadata
Metadata
Assignees
Labels
BugIncorrect BehaviorIncorrect Behavior