Browse Source

do not attempt to replace anything in the password

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/14937/head
Arthur Schiwon 7 years ago
parent
commit
2b84bbf372
No known key found for this signature in database GPG Key ID: 7424F1874854DF23
  1. 6
      apps/files_external/lib/config.php

6
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(

Loading…
Cancel
Save