MITMsmtp icon indicating copy to clipboard operation
MITMsmtp copied to clipboard

Dealing with non-ASCII chars

Open RobinMeis opened this issue 6 years ago • 2 comments

Closed connection!
----------------------------------------
Exception happened during processing of request from ('10.2.10.131', 56622)
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/local/lib/python3.5/dist-packages/MITMsmtp-0.0.2-py3.5.egg/MITMsmtp/SMTPHandler.py", line 59, in handle
    raise e
  File "/usr/local/lib/python3.5/dist-packages/MITMsmtp-0.0.2-py3.5.egg/MITMsmtp/SMTPHandler.py", line 54, in handle
    self.readMSG()
  File "/usr/local/lib/python3.5/dist-packages/MITMsmtp-0.0.2-py3.5.egg/MITMsmtp/SMTPHandler.py", line 170, in readMSG
    line = self.readLine()
  File "/usr/local/lib/python3.5/dist-packages/MITMsmtp-0.0.2-py3.5.egg/MITMsmtp/SMTPHandler.py", line 23, in readLine
    line = self.rfile.readline().strip()
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 70: ordinal not in range(128)
----------------------------------------

RobinMeis avatar Apr 20 '19 11:04 RobinMeis

could be related: image

mazdafunsunn avatar Dec 09 '20 22:12 mazdafunsunn

@mazdafunsunn Which parameters did you use when starting up MITMsmtp?

RobinMeis avatar Dec 25 '20 01:12 RobinMeis