Skip to content
Snippets Groups Projects
Commit f989b1e7 authored by Samuli Sillanpää's avatar Samuli Sillanpää Committed by Demian Katz
Browse files

Url encode record id in hierarchy tree links. (#1266)

parent cd7f6d40
Branches
No related merge requests found
......@@ -251,7 +251,7 @@ class JSTree extends AbstractBase
];
$cache[$route] = $this->router->fromRoute($route, $params, $options);
}
return str_replace('__record_id__', $id, $cache[$route]);
return str_replace('__record_id__', urlencode($id), $cache[$route]);
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment