Merge remote-tracking branch 'origin/support/3.2' into develop

This commit is contained in:
Eric Espie
2024-05-30 12:08:40 +02:00

View File

@@ -81,7 +81,7 @@ try
// First check if we can redirect the route to a dedicated controller // First check if we can redirect the route to a dedicated controller
$sRoute = utils::ReadParam('route', '', false, utils::ENUM_SANITIZATION_FILTER_ROUTE); $sRoute = utils::ReadParam('route', '', false, utils::ENUM_SANITIZATION_FILTER_ROUTE);
$oRouter = Router::GetInstance(); $oRouter = Router::GetInstance();
if ($oRouter->CanDispatchRoute($sRoute)) { if ($operation === '' && $oRouter->CanDispatchRoute($sRoute)) {
$mResponse = $oRouter->DispatchRoute($sRoute); $mResponse = $oRouter->DispatchRoute($sRoute);
// If response isn't a WebPage, it is most likely that the output already occured, stop the script. // If response isn't a WebPage, it is most likely that the output already occured, stop the script.