Bug reports will be moved here when the described bug has been fixed
Moderators: Hacker , petermad , Stefan2 , white
MVV
Power Member
Posts: 8711 Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation
Post
by *MVV » 2017-09-22, 07:50 UTC
Please try extracting the attached
u8text.txt file using TC's decode function and by opening this EML with a mail client:
Code: Select all
Subject: decode bug
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----------0C41AE0413CB31237"
------------0C41AE0413CB31237
Content-Type: multipart/alternative;
boundary="----------0D70E220F374AA02A"
------------0D70E220F374AA02A
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
------------0D70E220F374AA02A
Content-Type: multipart/related;
boundary="----------1191D11110CFCE55E"
------------1191D11110CFCE55E
Content-Type: text/html; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
------------1191D11110CFCE55E--
------------0D70E220F374AA02A--
------------0C41AE0413CB31237
Content-Type: text/plain;
name="u8text.txt"
Content-transfer-encoding: base64
Content-Disposition: attachment;
filename="u8text.txt"
0KHRitC10YjRjCDQtdGJ0ZEg0Y3RgtC40YUg0LzRj9Cz0LrQuNGFINGE0YDQsNC90YbRg9C3
0YHQutC40YUg0LHRg9C70L7Rh9C10LosINC00LAg0LLRi9C/0LXQuSDRh9Cw0Y4u
------------0C41AE0413CB31237--
While email client extracts the file properly, TC adds extra garbage bytes to it. Pure file size is 102 bytes.
ghisler(Author)
Site Admin
Posts: 50541 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2017-09-22, 10:09 UTC
Please try with TC 9.10 beta. TC 9.0a does NOT support nested sections (sections within sections) in MIME encoded files. TC 9.10 now supports them.
MVV
Power Member
Posts: 8711 Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation
Post
by *MVV » 2017-09-22, 12:31 UTC
Unfortunately it still doesn't work with TC 9.10b1 with this sample EML.
ghisler(Author)
Site Admin
Posts: 50541 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2017-09-25, 14:02 UTC
I can confirm the problem, it's happening due to an unusual triple nested sections. I will try to support that too.
MVV
Power Member
Posts: 8711 Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation
Post
by *MVV » 2017-09-25, 18:39 UTC
Thanks!
As I see it, you can unpack it layer by layer, with respect to each multipart's boundary, it shouldn't be too hard...
ghisler(Author)
Site Admin
Posts: 50541 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2017-09-27, 16:07 UTC
This should be fixed in TC 9.10 beta 2, please test it!
MVV
Power Member
Posts: 8711 Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation
Post
by *MVV » 2017-09-28, 12:46 UTC
Works fine in 9.10b2, thank you!
ghisler(Author)
Site Admin
Posts: 50541 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2017-09-28, 14:32 UTC
Great, thanks! Please let me know if you find a file where it doesn't work correctly.
lkelemen
New Member
Posts: 1 Joined: 2018-05-18, 08:10 UTC
Location: Tampere
Post
by *lkelemen » 2018-05-18, 08:36 UTC
Hi,
I have an email with a jpg attachment. I saved it in eml format and when I decode it with TC I get 2 files. One is the text of the mail, it's OK.
The other one gets decoded to a file named as the original jpg but the content is not jpg format but base64 I suppose. It is a plain copy from the eml but if I rename it to have b64 extension and decode it with TC I get a "WARNING: nothing decoded!" message. Is this a bug of TC or an error in the eml file? The link to the eml file (zipped) is here.
w w w kotiposti dot net slash lkelemen slash jesse dot zip
I can not put it here as an URL as I'm new here.
I use TC 9.12 64bit
Thanks
Lajos