Merge pull request #17766 from owncloud/escape-ampersand
Escape ampersand in logout URL
This commit is contained in:
commit
40170f35f6
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()) . '"';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue