Merge pull request #17766 from owncloud/escape-ampersand

Escape ampersand in logout URL
This commit is contained in:
Roeland Douma 2015-07-21 09:32:16 +02:00
commit 40170f35f6

View file

@ -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()) . '"';
}
/**