Filter non-ASCII input when not in binary mode
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 30 Jun 2018 13:42:40 +0000 (13:42 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 30 Jun 2018 15:09:03 +0000 (15:09 +0000)
If the client does not have binary send enabled per prior Telnet
option negotiation, filter for non-ASCII characters. This fixes a
bug where previously only binary mode senders were checked for
non-ASCII input and 7-bit senders were checked for non-UTF-8 input
rather than the other way around.


No differences found