Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MatterbridgeManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MatterbridgeManager.php b/lib/MatterbridgeManager.php
index 9520c02a1..b41372305 100644
--- a/lib/MatterbridgeManager.php
+++ b/lib/MatterbridgeManager.php
@@ -348,8 +348,8 @@ class MatterbridgeManager {
}
private function generatePassword(): string {
- // remove \ because it messes with Matterbridge toml file parsing
- $symbols = str_replace('\\', '', ISecureRandom::CHAR_SYMBOLS);
+ // remove \ and " because it messes with Matterbridge toml file parsing
+ $symbols = str_replace(['"', '\\'], '', ISecureRandom::CHAR_SYMBOLS);
// make sure we have at least one of all categories
$upper = $this->random->generate(1, ISecureRandom::CHAR_UPPER);