aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-04-16 08:33:10 +0200
committerGitHub <noreply@github.com>2019-04-16 08:33:10 +0200
commitd49a49fcbfae2abab09609a567b3bf45601620b3 (patch)
tree2ecf444a993cef2c8bd8c6431cb93f6b5d463268
parentf7c229548d78f0109536c96570de67237fb6adbe (diff)
parent39f9e34a1368258361708cc3b885e348246f86d9 (diff)
downloadnextcloud-server-d49a49fcbfae2abab09609a567b3bf45601620b3.tar.gz
nextcloud-server-d49a49fcbfae2abab09609a567b3bf45601620b3.zip
Merge pull request #15119 from nextcloud/backport/15115/stable15
[stable15] Do not use spaces in generated passwords
-rw-r--r--lib/public/Security/ISecureRandom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Security/ISecureRandom.php b/lib/public/Security/ISecureRandom.php
index 235b3033c44..ff7cceae60b 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 <code>generate($length, $characters)</code>, to