summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Douma <rullzer@users.noreply.github.com>2015-07-21 09:32:16 +0200
committerRoeland Douma <rullzer@users.noreply.github.com>2015-07-21 09:32:16 +0200
commit40170f35f6cc50628ad8ef7dd610cb0a6b0f1558 (patch)
tree327f57d963654da83282a68aae7905a58a810815 /lib
parent24f12e65ecf95f2c563bdf22da6ee642e4e84d24 (diff)
parent5a5c59639bc24d2c4ed57fb8d0b7abda86f0b829 (diff)
downloadnextcloud-server-40170f35f6cc50628ad8ef7dd610cb0a6b0f1558.tar.gz
nextcloud-server-40170f35f6cc50628ad8ef7dd610cb0a6b0f1558.zip
Merge pull request #17766 from owncloud/escape-ampersand
Escape ampersand in logout URL
Diffstat (limited to 'lib')
-rw-r--r--lib/private/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/user.php b/lib/private/user.php
index 1d8b89e273f..92807246144 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -405,7 +405,7 @@ class OC_User {
return $backend->getLogoutAttribute();
}
- return 'href="' . link_to('', 'index.php') . '?logout=true&requesttoken=' . urlencode(OC_Util::callRegister()) . '"';
+ return 'href="' . link_to('', 'index.php') . '?logout=true&amp;requesttoken=' . urlencode(OC_Util::callRegister()) . '"';
}
/**