diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-03 14:13:12 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-03 14:13:12 +0200 |
commit | a54af89d8a579ead1b26f617fa0d177925aee6e8 (patch) | |
tree | 29c23170b828cbe4cf63a0dbfed019f78a97da04 /lib/public | |
parent | 1ccbaae84636dabdd59cb0d9d945a6d2f22d10e8 (diff) | |
download | nextcloud-server-a54af89d8a579ead1b26f617fa0d177925aee6e8.tar.gz nextcloud-server-a54af89d8a579ead1b26f617fa0d177925aee6e8.zip |
Add test for the second argument
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/security/isecurerandom.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/security/isecurerandom.php b/lib/public/security/isecurerandom.php index a6d24571ab9..46d82dd5f15 100644 --- a/lib/public/security/isecurerandom.php +++ b/lib/public/security/isecurerandom.php @@ -26,7 +26,7 @@ interface ISecureRandom { const CHAR_UPPER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; const CHAR_LOWER = 'abcdefghijklmnopqrstuvwxyz'; const CHAR_DIGITS = '0123456789'; - const CHAR_SYMBOLS = "!\"#$%&\'()* +,-./:;<=>?@[\]^_`{|}~"; + const CHAR_SYMBOLS = '!\"#$%&\\'()* +,-./:;<=>?@[\]^_`{|}~'; /** * Convenience method to get a low strength random number generator. |