diff options
author | Roeland Douma <rullzer@users.noreply.github.com> | 2015-07-21 09:32:16 +0200 |
---|---|---|
committer | Roeland Douma <rullzer@users.noreply.github.com> | 2015-07-21 09:32:16 +0200 |
commit | 40170f35f6cc50628ad8ef7dd610cb0a6b0f1558 (patch) | |
tree | 327f57d963654da83282a68aae7905a58a810815 /lib | |
parent | 24f12e65ecf95f2c563bdf22da6ee642e4e84d24 (diff) | |
parent | 5a5c59639bc24d2c4ed57fb8d0b7abda86f0b829 (diff) | |
download | nextcloud-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.php | 2 |
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&requesttoken=' . urlencode(OC_Util::callRegister()) . '"'; } /** |