Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip '\r' in notification messages to avoid 'Content-Type: application/octet-stream' #10132

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

Al2Klimov
Copy link
Member

@icinga-probot icinga-probot bot added this to the 2.14.3 milestone Aug 21, 2024
@icinga-probot icinga-probot bot added area/notifications Notification events area/setup Installation, systemd, sample files bug Something isn't working ref/IP labels Aug 21, 2024
@Icinga Icinga deleted a comment from cla-bot bot Aug 21, 2024
…on/octet-stream'

Without this patch, an accidential `\r` in e.g. `$NOTIFICATIONCOMMENT`
leads to a `Content-Type: application/octet-stream` header in e-mails.
The accidential `\r` might slip in usually using Icinga/Nagios apps...
@Al2Klimov Al2Klimov force-pushed the strip-cr-in-notification-messages-2.14 branch from 85c5842 to bde4257 Compare September 17, 2024 10:29
@Icinga Icinga deleted a comment from cla-bot bot Sep 17, 2024
@Al2Klimov Al2Klimov merged commit 9c50fa5 into support/2.14 Sep 17, 2024
25 of 26 checks passed
@Al2Klimov Al2Klimov deleted the strip-cr-in-notification-messages-2.14 branch September 17, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/notifications Notification events area/setup Installation, systemd, sample files bug Something isn't working ref/IP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants