I have an e-mail with an attachment that is being saved with an incomplete file name. The part of the name after the first space is missing, including the extension. The raw message data looks like this:

--Apple-Mail-10--296320181 Content-Transfer-Encoding: base64 Content-Type: application/pdf; x-unix-mode=0644; name=1234 abc def.pdf X-WatchGuard-AntiVirus: scanned '1234abcdef.pdf'. clean action=allow

[large chunk of encoded data here]

But the file is saved as "1234". When I open the e-mail in Outlook Express, I see the full file name with the extension. I have tested a few other e-mail parsers, and they also save the file as just "1234" without the extension. Other e-mails with attachments that include spaces seem to work fine. Is the e-mail formatted incorrectly? Is the number at the beginning of the file name causing this?

asked 12 Nov '10, 19:03

davidatpfl's gravatar image

davidatpfl
16
accept rate: 0%


The cause are the missing quotes around the file name. There is:

Content-type: application/pdf; x-unix-mode=0644; name=1234 abc def.pdf

But there ought to be:

Content-type: application/pdf; x-unix-mode=0644; name="1234 abc def.pdf"

We should be able to add a workaround for this to the next release of Rebex Mail. Thanks for letting us know about it!

EDIT: The fix is included in Rebex Secure Mail version 1.0.4060.0 released in February 2011.

link

answered 15 Nov '10, 13:15

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28
accept rate: 31%

edited 21 Feb '11, 16:42

Martin%20Vobr's gravatar image

Martin Vobr ♦♦
335310

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10
×2

Asked: 12 Nov '10, 19:03

Seen: 435 times

Last updated: 21 Mar '11, 19:22