mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: Fix removing tracker URL with '|' character
Closes #19074. PR #21346.
This commit is contained in:
committed by
sledgehammer999
parent
9ac14cdf9f
commit
c3c7f28bad
@@ -219,7 +219,7 @@ window.qBittorrent.PropTrackers = (function() {
|
|||||||
method: "post",
|
method: "post",
|
||||||
data: {
|
data: {
|
||||||
hash: current_hash,
|
hash: current_hash,
|
||||||
urls: selectedTrackers.join("|")
|
urls: selectedTrackers.map(encodeURIComponent).join("|")
|
||||||
},
|
},
|
||||||
onSuccess: function() {
|
onSuccess: function() {
|
||||||
updateData();
|
updateData();
|
||||||
|
|||||||
Reference in New Issue
Block a user