From b9d4be60ca9b916a12529a8a8a74b490718ef3f2 Mon Sep 17 00:00:00 2001 From: Jojo-1000 <33495614+Jojo-1000@users.noreply.github.com> Date: Fri, 23 Jun 2023 16:34:43 +0200 Subject: [PATCH] Do not set advanced options with empty string to true. There are advanced options such as force-local that expect an empty string in some cases. While saving, these were replaced with 'true' even though there was an equals sign. Now only options without an equals sign are set to true. Closes #4757 --- Duplicati/Server/webroot/ngax/scripts/services/AppUtils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/Duplicati/Server/webroot/ngax/scripts/services/AppUtils.js b/Duplicati/Server/webroot/ngax/scripts/services/AppUtils.js index 0817690d28..ba90444a37 100644 --- a/Duplicati/Server/webroot/ngax/scripts/services/AppUtils.js +++ b/Duplicati/Server/webroot/ngax/scripts/services/AppUtils.js @@ -280,8 +280,6 @@ backupApp.service('AppUtils', function($rootScope, $timeout, $cookies, DialogSer if (eqpos > 0) { key = line.substr(0, eqpos).trim(); value = line.substr(eqpos + 1).trim(); - if (value == '') - value = true; } if (validateCallback)