mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
modify page: fix URL encode object DN in redirection URL
This commit is contained in:
parent
a7d202e5ff
commit
75cbea9459
1 changed files with 2 additions and 2 deletions
|
@ -1097,14 +1097,14 @@ function handle_LSobject_modify($request) {
|
|||
if (isset($_REQUEST['ajax'])) {
|
||||
LSsession :: displayAjaxReturn (
|
||||
array(
|
||||
'LSredirect' => "object/$LSobject/".$object -> getDn()
|
||||
'LSredirect' => "object/$LSobject/".urlencode($object -> getDn())
|
||||
)
|
||||
);
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
if (!LSdebugDefined()) {
|
||||
LSurl :: redirect("object/$LSobject/".$object -> getDn());
|
||||
LSurl :: redirect("object/$LSobject/".urlencode($object -> getDn()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue