diff --git a/src/webui/www/private/addpeers.html b/src/webui/www/private/addpeers.html
index 93b774e5f..fb19ae181 100644
--- a/src/webui/www/private/addpeers.html
+++ b/src/webui/www/private/addpeers.html
@@ -42,7 +42,7 @@
method: 'post',
data: {
hashes: hash,
- peers: peers.join(';')
+ peers: peers.join('|')
},
onFailure: function() {
alert("QBT_TR(Unable to add peers. Please ensure you are adhering to the IP:port format.)QBT_TR[CONTEXT=HttpServer]");