From 9791e918c0b6c53031503e33544df9332ad75fa7 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 15 Apr 2019 16:29:52 +0200 Subject: [PATCH] Do not use spaces in generated passwords Signed-off-by: Morris Jobke --- lib/public/Security/ISecureRandom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/Security/ISecureRandom.php b/lib/public/Security/ISecureRandom.php index d2ccae67eb..d435dc69a7 100644 --- a/lib/public/Security/ISecureRandom.php +++ b/lib/public/Security/ISecureRandom.php @@ -45,7 +45,7 @@ interface ISecureRandom { const CHAR_UPPER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; const CHAR_LOWER = 'abcdefghijklmnopqrstuvwxyz'; const CHAR_DIGITS = '0123456789'; - const CHAR_SYMBOLS = '!\"#$%&\\\'()* +,-./:;<=>?@[\]^_`{|}~'; + const CHAR_SYMBOLS = '!\"#$%&\\\'()*+,-./:;<=>?@[\]^_`{|}~'; /** * Characters that can be used for generate($length, $characters), to