aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Cache
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2021-07-16 12:46:20 +0200
committerGitHub <noreply@github.com>2021-07-16 12:46:20 +0200
commitf86f594a3a867018a3354e7d26a9932bb0eb11a1 (patch)
tree422922d5ed4c719568a339f508958d0a59f08338 /lib/private/Cache
parent23df99dbe080f113c6f8af091e8664979fb59358 (diff)
parent91051d92073f19908947cf05560de7e78ad80b86 (diff)
downloadnextcloud-server-f86f594a3a867018a3354e7d26a9932bb0eb11a1.tar.gz
nextcloud-server-f86f594a3a867018a3354e7d26a9932bb0eb11a1.zip
Merge pull request #27860 from J0WI/alphanumeric-rnd
Introduce ISecureRandom::CHAR_ALPHANUMERIC
Diffstat (limited to 'lib/private/Cache')
-rw-r--r--lib/private/Cache/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php
index 362379c429b..0ecd894d2d2 100644
--- a/lib/private/Cache/File.php
+++ b/lib/private/Cache/File.php
@@ -108,7 +108,7 @@ class File implements ICache {
// unique id to avoid chunk collision, just in case
$uniqueId = \OC::$server->getSecureRandom()->generate(
16,
- ISecureRandom::CHAR_DIGITS . ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_UPPER
+ ISecureRandom::CHAR_ALPHANUMERIC
);
// use part file to prevent hasKey() to find the key