mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-07 10:04:14 +01:00
Compare commits
4 Commits
develop
...
issue/9238
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1162a7029d | ||
|
|
307c308eb0 | ||
|
|
61e5536b50 | ||
|
|
104dd1970f |
@@ -998,7 +998,7 @@ JS
|
||||
break;
|
||||
|
||||
case 'revert_dashboard':
|
||||
$sDashboardId = utils::ReadParam('dashboard_id', '', false, 'raw_data');
|
||||
$sDashboardId = utils::ReadParam('dashboard_id', '', false, utils::ENUM_SANITIZATION_FILTER_CONTEXT_PARAM);
|
||||
$sReloadURL = utils::ReadParam('reload_url', '', false, utils::ENUM_SANITIZATION_FILTER_URL);
|
||||
appUserPreferences::UnsetPref('display_original_dashboard_'.$sDashboardId);
|
||||
$oDashboard = new RuntimeDashboard($sDashboardId);
|
||||
|
||||
@@ -306,7 +306,7 @@ JS
|
||||
$sBefore = substr($sExpression, 0, $e->GetColumn());
|
||||
$sAfter = substr($sExpression, $e->GetColumn() + strlen($sWrongWord));
|
||||
$sFixedExpression = $sBefore.$sSuggestedWord.$sAfter;
|
||||
$sFixedExpressionHtml = $sBefore.'<span class="ibo-run-query--highlight">'.$sSuggestedWord.'</span>'.$sAfter;
|
||||
$sFixedExpressionHtml = $sBefore.'<span class="ibo-run-query--highlight">'.$sSuggestedWord.'</span>'.utils::EscapeHtml($sAfter);
|
||||
$sSyntaxErrorText .= "<p>Suggesting: $sFixedExpressionHtml</p>";
|
||||
$oSyntaxErrorPanel->AddSubBlock(new Html($sSyntaxErrorText));
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ class SetupUtils
|
||||
public const PHP_NEXT_MIN_VERSION = ''; // No new PHP requirement for next iTop version yet
|
||||
public const MYSQL_NEXT_MIN_VERSION = ''; // No new MySQL requirement for next iTop version yet
|
||||
// -- First recent version that is not yet validated by Combodo (warning)
|
||||
public const PHP_NOT_VALIDATED_VERSION = '8.4.0';
|
||||
public const PHP_NOT_VALIDATED_VERSION = '8.5.0';
|
||||
|
||||
public const MIN_MEMORY_LIMIT = '32M';
|
||||
public const SUHOSIN_GET_MAX_VALUE_LENGTH = 2048;
|
||||
|
||||
@@ -301,7 +301,7 @@ try {
|
||||
//
|
||||
// Read parameters
|
||||
//
|
||||
$iDataSourceId = ReadMandatoryParam($oP, 'data_source_id', 'raw_data');
|
||||
$iDataSourceId = ReadMandatoryParam($oP, 'data_source_id', utils::ENUM_SANITIZATION_FILTER_INTEGER);
|
||||
$sSynchronize = ReadParam($oP, 'synchronize');
|
||||
$sSep = ReadParam($oP, 'separator', 'raw_data');
|
||||
$sQualifier = ReadParam($oP, 'qualifier', 'raw_data');
|
||||
|
||||
Reference in New Issue
Block a user