WebUI: Fix removing tracker URL with '|' character

Closes #19074.
PR #21346.
This commit is contained in:
Thomas Piccirello 2024-09-21 23:22:52 -07:00 committed by GitHub
parent c3224459db
commit 8a6207d3fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -219,7 +219,7 @@ window.qBittorrent.PropTrackers ??= (() => {
method: "post",
data: {
hash: current_hash,
urls: selectedTrackers.join("|")
urls: selectedTrackers.map(encodeURIComponent).join("|")
},
onSuccess: function() {
updateData();