From a35dbc6df7cdae99efd5d097527fc393e03c6449 Mon Sep 17 00:00:00 2001 From: Raymond Ha Date: Fri, 26 May 2023 01:52:37 -0700 Subject: [PATCH] WebUI: Fix category save path PR #19008. --- src/webui/www/private/scripts/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js index 54ee38e70..9918e6c18 100644 --- a/src/webui/www/private/scripts/download.js +++ b/src/webui/www/private/scripts/download.js @@ -125,7 +125,7 @@ window.qBittorrent.Download = (function() { const category = categories[categoryName]; let savePath = defaultSavePath; if (category !== undefined) - savePath = (category['savePath'] !== "") ? category['savePath'] : (defaultSavePath + categoryName); + savePath = (category['savePath'] !== "") ? category['savePath'] : `${defaultSavePath}/${categoryName}`; $('savepath').value = savePath; } }