From: Jeremy Stanley Date: Sun, 21 Jan 2018 23:39:45 +0000 (+0000) Subject: Fix TypeError with IAC escaping X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=c677014e04ec3818187eff679bf378b9be735c15;hp=c677014e04ec3818187eff679bf378b9be735c15;p=mudpy.git Fix TypeError with IAC escaping Declare the literal newline as a byte type when analyzing an input sequence with a double IAC byte, fixing a lingering crash which raised a TypeError in negotiate_telnet_options(). Add regression testing for proper handling and deduplication of an inline IAC pair. While we're here, improve the log message about undecodeable UTF-8 sequences to be clear it's not just some of the bytes which were discarded. ---