Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/activity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-20 12:06:50 +0300
committerGitHub <noreply@github.com>2016-10-20 12:06:50 +0300
commitbab3afe1ea1e275bba55e6ba8ac37e3a4c7fe9e0 (patch)
treec0b11e92695f09d0442981b844541b54a9c3c643
parent6b93f6fd9f4ed07821778aab743361276000d226 (diff)
parent1001d2f2083d0a16e302c666eb23355a419c1e60 (diff)
Merge pull request #57 from nextcloud/backport-56-no-special-chars-in-feed-urlv10.0.3RC1v10.0.2
[stable10] No special chars in feed url
-rw-r--r--lib/Controller/Settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/Settings.php b/lib/Controller/Settings.php
index 74325013..55992f7b 100644
--- a/lib/Controller/Settings.php
+++ b/lib/Controller/Settings.php
@@ -215,7 +215,7 @@ class Settings extends Controller {
// Check for collisions
while (!empty($conflicts)) {
- $token = $this->random->generate(30);
+ $token = $this->random->generate(30, ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS);
$conflicts = $this->config->getUsersForUserValue('activity', 'rsstoken', $token);
}