Skip to content

Commit c3c7f28

Browse files
Piccirellosledgehammer999
authored andcommitted
WebUI: Fix removing tracker URL with '|' character
Closes #19074. PR #21346.
1 parent 9ac14cd commit c3c7f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webui/www/private/scripts/prop-trackers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ window.qBittorrent.PropTrackers = (function() {
219219
method: "post",
220220
data: {
221221
hash: current_hash,
222-
urls: selectedTrackers.join("|")
222+
urls: selectedTrackers.map(encodeURIComponent).join("|")
223223
},
224224
onSuccess: function() {
225225
updateData();

0 commit comments

Comments
 (0)