diff options
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/config.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 65e8ae387bd..47e68b4b1a0 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( |