diff --git a/ChangeLog_cdcconseil b/ChangeLog_cdcconseil index 09decfbcf156d..e7076658445a9 100644 --- a/ChangeLog_cdcconseil +++ b/ChangeLog_cdcconseil @@ -1,3 +1,4 @@ +- FIX/SUPPORT/DA025922/SetSpecialCharacter because the character '<' was not set into the whitelist of special character which causes an issue when you try to fetch this type of extrafields - *30/12/2024* - FIX/SUPPORT/DA025737/HIDDEN_DROPDOWN - *19/12/2024* - FIX/SUPPORT/DA025871/FiltreEvalListe - **16/12/2024** - FIX/SUPPORT/DA025787/HRM_closed_job_position_on_application - *04/12/2024* diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index ccef917b65865..b3698de7744fa 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -10308,7 +10308,7 @@ function dol_eval($s, $returnvalue = 1, $hideerrors = 1, $onlysimplestring = '1' // We must accept with 2: (($reloadedobj = new Task($db)) && ($reloadedobj->fetchNoCompute($object->id) > 0) && ($secondloadedobj = new Project($db)) && ($secondloadedobj->fetchNoCompute($reloadedobj->fk_project) > 0)) ? $secondloadedobj->ref : "Parent project not found" // Check if there is dynamic call (first we check chars are all into use a whitelist chars) - $specialcharsallowed = '^$_+-.*>&|=!?():"\',/@'; + $specialcharsallowed = '^$_+-.*><&|=!?():"\',/@'; if ($onlysimplestring == '2') { $specialcharsallowed .= '[]'; }