mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-08 23:21:58 +02:00
When sending notifications with image attachments (progress/error events), the message body was placed in an HTTP Message header. Messages containing newlines (e.g. "Printer: file.stl\nRemaining: 4h 52m") were rejected by httpx since HTTP headers cannot contain newline characters. Escape newlines to literal \n which ntfy renders as line breaks.