Encode the sReturnTo argument to the login page, otherwise we may have problems with some urls
This commit is contained in:
committed by
WineHQ
parent
d02ea523b8
commit
3abcfefe00
@@ -209,7 +209,7 @@ function cmd_do_login()
|
||||
|
||||
if($iResult == SUCCESS)
|
||||
{
|
||||
$sReturnUrl = $aClean['sReturnTo'];
|
||||
$sReturnUrl = urldecode($aClean['sReturnTo']);
|
||||
if(!$sReturnUrl)
|
||||
$sReturnUrl = apidb_fullurl("index.php");
|
||||
addmsg("You are successfully logged in as '$oUser->sRealname'.", "green");
|
||||
|
||||
Reference in New Issue
Block a user