NagiosEnterprises / nagioscore

Nagios Core
GNU General Public License v2.0
1.48k stars 440 forks source link

Fix: Printf instead of putchar in command expansion page when there is dangling whitespace #944

Closed tsadpbb closed 4 months ago

tsadpbb commented 5 months ago

There needs to be some specific logic to handle whitespace before and afterwards but the command should be printed with printf and html_encode like the surrounding instances instead of just using putchar on each character

sawolf commented 4 months ago

Thanks! LGTM