diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-23 16:16:31 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-23 16:16:31 +0100 |
commit | e3de4edc51b5a7444f99f4b4ca5ce9f70b3b3e8c (patch) | |
tree | 69f757e586725cd1cf898d1b868f26b7792ad5a7 /lib/private/legacy/user.php | |
parent | 68c0fd3863e728f908cb33c84c770d1ea6709f94 (diff) | |
download | nextcloud-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.php | 2 |
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; } |