Bug 4188 - STL file is sent not as an attachment but as its base64 representation in plaintext
Summary: STL file is sent not as an attachment but as its base64 representation in pla...
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.17.3
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-03-24 12:53 UTC by Stanislav
Modified: 2019-03-24 13:43 UTC (History)
0 users

See Also:


Attachments
First 50 KB of problematic file (50.00 KB, model/stl)
2019-03-24 12:58 UTC, Stanislav
no flags Details

Description Stanislav 2019-03-24 12:53:07 UTC
Sending gzip compressed version or any other file (like MS Word documents or images) results in receiving proper attachment so this must be file-specific.
Sending first 50 KB results in receiving plaintext base64.
It was tested with several mailboxes, including Yandex and GMail ones so  this must be claws-mail issue.
Comment 1 Stanislav 2019-03-24 12:58:31 UTC
Created attachment 1967 [details]
First 50 KB of problematic file
Comment 2 users 2019-03-24 13:40:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2019-03-24 14:40:03.547669893 +0100
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=0c0a3c773b657bb80f4af3b7dbfd9646766bb526
Author: Paul <paul@claws-mail.org>
Date:   Sun Mar 24 13:38:58 2019 +0000

    recognise model/* mime type
    
    fixes bug 4188, 'STL file is sent not as an attachment but as its base64
    representation in plaintext'
Comment 3 Paul 2019-03-24 13:43:48 UTC
FYI: The fix won't work retrospectively, but will work going forward.

That is, old messages remain broken, but new messages will have the correct mime type.

Note You need to log in before you can comment on or make changes to this bug.