summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-12 13:04:28 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-13 12:04:32 -0500
commit695696a4a636d98b108bddb72463b46d98b95bef (patch)
tree624ca170059a14249f6bec9b3b9c879dcbbeb997 /lib/private/AppFramework
parent38e5135cb9730a5add715aa8e0b532a2aeb1835e (diff)
downloadnextcloud-server-695696a4a636d98b108bddb72463b46d98b95bef.tar.gz
nextcloud-server-695696a4a636d98b108bddb72463b46d98b95bef.zip
Use constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/Http/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php
index c6ef5169ddb..b39ae3e8c0c 100644
--- a/lib/private/AppFramework/Http/Request.php
+++ b/lib/private/AppFramework/Http/Request.php
@@ -578,7 +578,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
}
if(empty($this->requestId)) {
- $validChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
+ $validChars = ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS;
$this->requestId = $this->secureRandom->generate(20, $validChars);
}