N°8148 - CAS problem when sending a link ending in & (#722)

N°8148 - CAS problem when sending a link ending in &
This commit is contained in:
Benjamin Dalsass
2025-06-30 14:19:33 +02:00
committed by GitHub
parent 8cece0f0fd
commit 062d543b26
15 changed files with 88 additions and 57 deletions

View File

@@ -640,7 +640,7 @@ class AjaxRenderController
$aResult = array();
$oAppContext = new ApplicationContext();
$sParams = $oAppContext->GetForLink();
$sParams = $oAppContext->GetForLink(true);
foreach ($aGroupBy as $iRow => $iCount) {
// Build the search for this subset
$oSubsetSearch = $oFilter->DeepClone();
@@ -655,7 +655,7 @@ class AjaxRenderController
$aResult[] = array(
'group' => $aLabels[$iRow],
'value' => "<a href=\"".utils::GetAbsoluteUrlAppRoot()."pages/UI.php?operation=search&dosearch=1&$sParams&filter=$sFilter\">$iCount</a>",
'value' => "<a href=\"".utils::GetAbsoluteUrlAppRoot()."pages/UI.php?operation=search&dosearch=1$sParams&filter=$sFilter\">$iCount</a>",
); // TO DO: add the context information
}