From e3de4edc51b5a7444f99f4b4ca5ce9f70b3b3e8c Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 23 Jan 2019 16:16:31 +0100 Subject: Urlencode the requesttoken Followup of #13757 Signed-off-by: Roeland Jago Douma --- tests/lib/NavigationManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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, -- cgit v1.2.3