Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.65k stars 406 forks source link

Spaces adjacent to double quotes are eliminated during data input method import #608

Closed eschoeller closed 7 years ago

eschoeller commented 7 years ago

I found that when a data input method is imported the spaces that once existed between double quotes are eliminated. They appear to be properly exported to the xml file, but are removed during the (re-)import process.

Here is an example: Table: data_input, Column: input_string, New Value: '/usr/local/php/bin/php -q /scripts/query_apc_rack_pdu.php current """"""""""', Old Value: '/usr/local/php/bin/php -q /scripts/query_apc_rack_pdu.php current "" "" "" "" ""'

cigamit commented 7 years ago

Hmm, that is very odd. Thanks for reporting.

cigamit commented 7 years ago

Resolved, please take a copy of the development branch and re-test and provide feedback.