#12499 strip tags csv graphs

This commit is contained in:
Jonathan 2023-11-24 15:03:23 +01:00
parent 558279e61b
commit b6fe93909d
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ if (file_exists('../languages/'.$user_language.'.mo') === true) {
$type = (string) get_parameter('type', 'csv'); $type = (string) get_parameter('type', 'csv');
$data = (string) get_parameter('data'); $data = (string) get_parameter('data');
$data = strip_tags(io_safe_output($data));
$data = json_decode(io_safe_output($data), true); $data = json_decode(io_safe_output($data), true);
$default_filename = 'data_exported - '.date($config['date_format']); $default_filename = 'data_exported - '.date($config['date_format']);