diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 65e8ae387b..47e68b4b1a 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -239,7 +239,11 @@ class OC_Mount_Config { if (self::$skipTest) { return StorageNotAvailableException::STATUS_SUCCESS; } - foreach ($options as &$option) { + foreach ($options as $key => &$option) { + if($key === 'password') { + // no replacements in passwords + continue; + } $option = self::substitutePlaceholdersInConfig($option); if(!self::arePlaceholdersSubstituted($option)) { \OC::$server->getLogger()->error(