From: Jeremy Stanley Date: Sun, 21 Jan 2018 23:39:45 +0000 (+0000) Subject: Fix TypeError with IAC escaping X-Git-Tag: 0.0.1~108 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=0c50d321bc2ecb103c9e80896f6d79e77f1a72b2;hp=0c50d321bc2ecb103c9e80896f6d79e77f1a72b2 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. ---