Critical security fix: truncate IRCLine.ParsedLine.format() at newline
This commit is contained in:
parent
d627ed49e2
commit
56f6511ad3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue