diff options
author | Robin Jarry <robin@jarry.cc> | 2024-08-20 13:51:49 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 13:57:33 +0200 |
commit | 2d9f949ac9a3369f81142ec7b138a5eadebafaeb (patch) | |
tree | 771987206fb3bfbc8ea6ac4097e9f64f74a79621 /.gitignore | |
parent | 11f57b5f3378f944ea54a8a9de4ca040c62f5b12 (diff) | |
download | aerc-2d9f949ac9a3369f81142ec7b138a5eadebafaeb.tar.gz |
ircbot: sanitize email subjects
Email subjects may contain line breaks if they are too long to fit in 72
columns. The supybot library does not support sending messages with line
breaks. It raises an error. Replace all consecutive "white space"
characters (including \r and \n) with regular space characters.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions