diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-20 12:06:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 12:06:50 +0300 |
commit | bab3afe1ea1e275bba55e6ba8ac37e3a4c7fe9e0 (patch) | |
tree | c0b11e92695f09d0442981b844541b54a9c3c643 | |
parent | 6b93f6fd9f4ed07821778aab743361276000d226 (diff) | |
parent | 1001d2f2083d0a16e302c666eb23355a419c1e60 (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.php | 2 |
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); } |