[bug] Email attach - Documents - failed to open existing file (base64)
some of email attachments could not be openned, for first i thought that is about wild characters or extra long filenames, but no, still nothing after file rename then check file perms - all ok
finaly, surprising sadly discovery - attachment it stored in base64 as it was in original email :( thats why it could not read the file
@pan tau - What was the file type ? Was this a inline attachment or normal attachment ?
VDVsx ( 2015-02-16 13:01:48 +0200 )editContent-Disposition: attachment; filename="Automatic import (receipts) from COMPANY Blabla to Bla.docx"; Content-Transfer-Encoding: base64
sent from outlook /exchange server
pan tau ( 2015-02-16 13:21:22 +0200 )edit@pan tau - Nothing wrong there, can you reproduce ? for example if you delete the attachment from disk, reopen email app and download it again from the email ?
VDVsx ( 2015-02-16 16:49:22 +0200 )editcant redownload attachments after file deletion, it still appears as downloaded in email, but i can forward to myself and woala, attachment is double base64 encoded
more from header: Accept-Language: cs-CZ, de-DE, en-US Content-Language: cs-CZ X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted
email has been RE or FWD about 4x before it arived to my inbox, in body there is base64 text from sender,then plain text from previous sender and also Word junk formated html email from someone else, all in iso-8859-2
attachments are at bottom of source with type
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document;
pan tau ( 2015-02-17 03:54:38 +0200 )edit