You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting the eventhistory as CSV: double quotes which are contained in comments are not escaped. This results in a broken CSV file which cannot be parsed properly.
To Reproduce
Add any comment which contains double quotes to a host or service.
Go to History => Event Overview
Export the view as CSV (/icingaweb2/monitoring/list/eventhistory?timestamp%3E=-7%20days&format=csv)
Expected behavior
Download of a properly formatted CSV file. Strings are encapsulated by double quotes. Double quotes within these strings has to be escaped.
Screenshots
Your Environment
Icinga Web 2 version and modules (System - About): 2.11.1
Web browser used: FF
Icinga 2 version used (icinga2 --version): 2.13.5
PHP version used (php --version): 7.4.6
Server operating system and version: SLES15
The text was updated successfully, but these errors were encountered:
domme0711
added a commit
to domme0711/icingaweb2
that referenced
this issue
Sep 8, 2022
Describe the bug
When exporting the eventhistory as CSV: double quotes which are contained in comments are not escaped. This results in a broken CSV file which cannot be parsed properly.
To Reproduce
Expected behavior
Download of a properly formatted CSV file. Strings are encapsulated by double quotes. Double quotes within these strings has to be escaped.
Screenshots
Your Environment
icinga2 --version
): 2.13.5php --version
): 7.4.6The text was updated successfully, but these errors were encountered: