Escape ampersand in logout URL

* fixes #17757
remotes/origin/handlebars-approach
Morris Jobke 2015-07-21 00:26:30 +07:00
parent d20e2002a6
commit 5a5c59639b
1 changed files with 1 additions and 1 deletions

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