Skip to content
Snippets Groups Projects
Unverified Commit 13b049e9 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

notifier: Fix mail subject encoding

The space is explicitly forbidden as part of encoded text by RFC 2047,
the encoding must be broken out of and re-entered as needed.
parent d5d7a4f2
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ compose_message() {
echo "Content-Type: text/plain; charset=UTF-8" >> "$msg_file"
echo "Date: $curr_date" >> "$msg_file"
echo "Message-ID: $msg_id" >> "$msg_file"
echo -e "Subject: =?utf-8?Q?Upozorn=C4=9Bn=C3=AD od Va=C5=A1eho routeru Turris?=\n" >> "$msg_file"
echo -e "Subject: =?utf-8?Q?Upozorn=C4=9Bn=C3=AD?= od =?utf-8?Q?Va=C5=A1eho?= routeru Turris\n" >> "$msg_file"
cat $msg_file.tmp >> "$msg_file"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment