summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/user.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-01-23 16:16:31 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-01-23 16:16:31 +0100
commite3de4edc51b5a7444f99f4b4ca5ce9f70b3b3e8c (patch)
tree69f757e586725cd1cf898d1b868f26b7792ad5a7 /lib/private/legacy/user.php
parent68c0fd3863e728f908cb33c84c770d1ea6709f94 (diff)
downloadnextcloud-server-e3de4edc51b5a7444f99f4b4ca5ce9f70b3b3e8c.tar.gz
nextcloud-server-e3de4edc51b5a7444f99f4b4ca5ce9f70b3b3e8c.zip
Urlencode the requesttoken
Followup of #13757 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/legacy/user.php')
-rw-r--r--lib/private/legacy/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/user.php b/lib/private/legacy/user.php
index ab87c484db4..3d4dc5cc982 100644
--- a/lib/private/legacy/user.php
+++ b/lib/private/legacy/user.php
@@ -270,7 +270,7 @@ class OC_User {
}
$logoutUrl = $urlGenerator->linkToRouteAbsolute('core.login.logout');
- $logoutUrl .= '?requesttoken=' . \OCP\Util::callRegister();
+ $logoutUrl .= '?requesttoken=' . urlencode(\OCP\Util::callRegister());
return $logoutUrl;
}