mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 19:36:08 +01:00
Fix for entites in path #1524
This commit is contained in:
@@ -1425,6 +1425,9 @@ class Admin
|
|||||||
$path = "/{$path}";
|
$path = "/{$path}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fix for entities in path causing looping...
|
||||||
|
$path = urldecode($path);
|
||||||
|
|
||||||
$page = $path ? $pages->dispatch($path, true) : $pages->root();
|
$page = $path ? $pages->dispatch($path, true) : $pages->root();
|
||||||
|
|
||||||
if (!$page) {
|
if (!$page) {
|
||||||
|
|||||||
Reference in New Issue
Block a user