Skip to content

Commit

Permalink
WebUI: Fix removing tracker URL with '|' character
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello authored and sledgehammer999 committed Dec 7, 2024
1 parent 9ac14cd commit c3c7f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/www/private/scripts/prop-trackers.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ window.qBittorrent.PropTrackers = (function() {
method: "post",
data: {
hash: current_hash,
urls: selectedTrackers.join("|")
urls: selectedTrackers.map(encodeURIComponent).join("|")
},
onSuccess: function() {
updateData();
Expand Down

0 comments on commit c3c7f28

Please sign in to comment.