Skip to content

Commit

Permalink
fix(search_filter): security fix on column name
Browse files Browse the repository at this point in the history
  • Loading branch information
charleneauger committed Jun 13, 2024
1 parent fe82745 commit 44c9e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion require/function_table_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ function ajaxfiltre($queryDetails,$tab_options){
$queryDetails .= " HAVING ";
$index =0;
foreach($tab_options['visible_col'] as $column){
$cname = $tab_options['columns'][$column]['name'];
$cname = preg_replace("/[^A-Za-z0-9\._]/", "", $tab_options['columns'][$column]['name']);
$account_select = null;

// Special treatment if accountinfo select type
Expand Down

0 comments on commit 44c9e9e

Please sign in to comment.