]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not use spaces in generated passwords 15115/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 15 Apr 2019 14:29:52 +0000 (16:29 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 15 Apr 2019 14:29:52 +0000 (16:29 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/public/Security/ISecureRandom.php

index d2ccae67ebe6e64b66b5084083d0a46ebf1ed04c..d435dc69a7321f9f92ab851c8539517a2bcaf2e3 100644 (file)
@@ -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 <code>generate($length, $characters)</code>, to