thestonehead / ThunderbirdAttachmentExtractor

Thunderbird add-on for extracting attachments from e-mails
Mozilla Public License 2.0
14 stars 2 forks source link

File export broken after a filename containing '#' is processed #6

Open Sesu8642 opened 2 years ago

Sesu8642 commented 2 years ago

After doing an export, I noticed that many attachments were not actually saved to disk. I figured out that everything worked fine until a specific file containing a '#' in the original filename was processed. The target filename does not seem to matter. I determined the messenger.saveAllAttachments function to cause the problem. After it encounters a problematic file, it stops and does not continue with the next file. This might be a bug in the saveAllAttachments function or possibly incorrect usage. Unfortunately, I am unable to find proper documentation on this function call.

thestonehead commented 2 years ago

Yeah, I had to wrangle that one out of Thunderbird source code. I'll try and look into it.