mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 08:23:49 +01:00
Added urlencode() of object's DN in redirect URL
This commit is contained in:
parent
a8e375589d
commit
fe323be9b0
1 changed files with 2 additions and 2 deletions
|
@ -61,14 +61,14 @@ if(LSsession :: startLSsession()) {
|
|||
if (isset($_REQUEST['ajax'])) {
|
||||
LSsession :: displayAjaxReturn (
|
||||
array(
|
||||
'LSredirect' => 'view.php?LSobject='.$LSobject.'&dn='.$object -> getDn()
|
||||
'LSredirect' => 'view.php?LSobject='.$LSobject.'&dn='.urlencode($object -> getDn())
|
||||
)
|
||||
);
|
||||
exit();
|
||||
}
|
||||
else {
|
||||
if (!LSdebugDefined()) {
|
||||
LSsession :: redirect('view.php?LSobject='.$LSobject.'&dn='.$object -> getDn());
|
||||
LSsession :: redirect('view.php?LSobject='.$LSobject.'&dn='.urlencode($object -> getDn()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue