diff options
| author | 2019-02-25 21:46:23 +0000 | |
|---|---|---|
| committer | 2019-02-25 21:46:23 +0000 | |
| commit | 56f6511ad3b09e748b08cf56f501c026666ba4fb (patch) | |
| tree | 8a08220d78a76e25500fcceb939b554fed982acc /src | |
| parent | Pull "is main thread" logic out to utils, force Database to be accessed on main (diff) | |
| signature | ||
Critical security fix: truncate IRCLine.ParsedLine.format() at newline
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCLine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCLine.py b/src/IRCLine.py index ee0b16e4..69c83006 100644 --- a/src/IRCLine.py +++ b/src/IRCLine.py @@ -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, |
