mailio icon indicating copy to clipboard operation
mailio copied to clipboard

parsing the mime format crashed

Open lofonder opened this issue 1 year ago • 1 comments

here is the mime data . I couldnt find the bugs. test.txt

lofonder avatar Sep 27 '24 13:09 lofonder

Thanks for the report, let me try it.

karastojko avatar Sep 30 '24 20:09 karastojko

The last content type has the invalid zeroth name:

name*0*=UTF-8''%%E4%B8%AA%E4%BA%BA%B5%AE%A2%E6%88%B7%E4%B8%9A%E5%8A%A1%E5;

Double percent at the beginning is incorrect. Mailio 0.24.1 throws an exception, which is the desired behavior. Thus, I am closing the bug as already solved.

karastojko avatar Dec 11 '24 18:12 karastojko

sorry for that,may be its my mistake that encoding the Double percent. In fact its not the wrong code here.i would show the realy faction next time.

lofonder avatar Dec 22 '24 14:12 lofonder