diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-11 15:41:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-11 15:41:29 +0100 |
| commit | 2efc9ef53d6b64f80d626dd80ea91970eec367da (patch) | |
| tree | 7aa542d12920b0c5c07559e59e193d9ebbd56745 /src/lib | |
| parent | c74d789ed75e87bccd094f45f082674f8f8d2f2f (diff) | |
Filter null characters out of email.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/emailer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/emailer.cc b/src/lib/emailer.cc index df254df24..dfc654396 100644 --- a/src/lib/emailer.cc +++ b/src/lib/emailer.cc @@ -44,6 +44,7 @@ Emailer::Emailer (string from, list<string> to, string subject, string body) , _offset (0) { boost::algorithm::replace_all (_body, "\n", "\r\n"); + boost::algorithm::replace_all (_body, "\0", " "); } void |
