Critical security fix: truncate IRCLine.ParsedLine.format() at newline

This commit is contained in:
jesopo 2019-02-25 21:46:23 +00:00
parent d627ed49e2
commit 56f6511ad3

View file

@ -76,7 +76,7 @@ class ParsedLine(object):
else:
s += self._args[-1]
return s
return s.split("\n")[0].strip("\r")
class SentLine(IRCObject.Object):
def __init__(self, send_time: datetime.datetime, hostmask: str,