mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +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'])) {
|
if (isset($_REQUEST['ajax'])) {
|
||||||
LSsession :: displayAjaxReturn (
|
LSsession :: displayAjaxReturn (
|
||||||
array(
|
array(
|
||||||
'LSredirect' => "object/$LSobject/".$object -> getDn()
|
'LSredirect' => "object/$LSobject/".urlencode($object -> getDn())
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!LSdebugDefined()) {
|
if (!LSdebugDefined()) {
|
||||||
LSurl :: redirect("object/$LSobject/".$object -> getDn());
|
LSurl :: redirect("object/$LSobject/".urlencode($object -> getDn()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue