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
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with
5 additions and
1 deletions
-
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( |
|
|
|
|