aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-08-20 13:51:49 +0200
committerRobin Jarry <robin@jarry.cc>2024-08-20 13:57:33 +0200
commit2d9f949ac9a3369f81142ec7b138a5eadebafaeb (patch)
tree771987206fb3bfbc8ea6ac4097e9f64f74a79621 /worker
parent11f57b5f3378f944ea54a8a9de4ca040c62f5b12 (diff)
downloadaerc-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 'worker')
0 files changed, 0 insertions, 0 deletions