summaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/lib/NavigationManagerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/NavigationManagerTest.php b/tests/lib/NavigationManagerTest.php
index 6649aba28b6..f552bd2eeed 100644
--- a/tests/lib/NavigationManagerTest.php
+++ b/tests/lib/NavigationManagerTest.php
@@ -270,7 +270,7 @@ class NavigationManagerTest extends TestCase {
'logout' => [
'id' => 'logout',
'order' => 99999,
- 'href' => 'https://example.com/logout?requesttoken='. \OCP\Util::callRegister(),
+ 'href' => 'https://example.com/logout?requesttoken='. urlencode(\OCP\Util::callRegister()),
'icon' => '/apps/core/img/actions/logout.svg',
'name' => 'Log out',
'active' => false,