aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/config.php')
-rw-r--r--apps/files_external/lib/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 47e68b4b1a0..2f0cbaca790 100644
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -292,7 +292,7 @@ class OC_Mount_Config {
}
}
} else if (is_string($option)) {
- if (strpos($option, '$') !== false) {
+ if (strpos(rtrim($option, '$'), '$') !== false) {
$result = false;
}
}