Version 0.9.5 beta - Core update fixed ? and / parameters for the url, now accepting with and without ending / also containing ?

This commit is contained in:
Stephan Kasdorf
2020-11-04 00:22:03 +01:00
parent bee0a7012f
commit 7b71fba0d5
2 changed files with 8 additions and 4 deletions

View File

@@ -48,9 +48,12 @@ final class Dispatcher
{
$action = $_REQUEST['_action']."Action";
$controller->navigationAction();
if(method_exists($controller, $action))
if($action!="Action" && !strstr($action, '?'))
{
$controller->$action();
if(method_exists($controller, $action))
{
$controller->$action();
}
}
$controller->pageAction();
}