Skip to content

Commit

Permalink
Fixing #5255 - Space in XML path
Browse files Browse the repository at this point in the history
Data query xml path with space problem
  • Loading branch information
TheWitness committed Mar 19, 2023
1 parent 3615778 commit 08f2bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
@@ -1,6 +1,7 @@
Cacti CHANGELOG

1.2.25
-issue#5255: Data query xml path with space problem
-issue#5259: When the Data Template contains more Data Sources than the Graph Template RRDfiles won't update
-issue#5263: Warnings in Cacti log when re-indexing devices
-issue#5272: Boost continues to loose data when archive tables are missed due to overloaded MariaDB
Expand Down
2 changes: 1 addition & 1 deletion data_queries.php
Expand Up @@ -123,7 +123,7 @@ function form_save() {
$save['hash'] = get_hash_data_query(get_nfilter_request_var('id'));
$save['name'] = form_input_validate(get_nfilter_request_var('name'), 'name', '', false, 3);
$save['description'] = form_input_validate(get_nfilter_request_var('description'), 'description', '', true, 3);
$save['xml_path'] = form_input_validate(get_nfilter_request_var('xml_path'), 'xml_path', '', false, 3);
$save['xml_path'] = form_input_validate(trim(get_nfilter_request_var('xml_path')), 'xml_path', '', false, 3);
$save['data_input_id'] = get_request_var('data_input_id');

// Detect changing input id
Expand Down

0 comments on commit 08f2bcb

Please sign in to comment.