Opened 15 years ago
Last modified 4 years ago
#4973 new bug
Zip attachment is renamed
Reported by: | humdinger | Owned by: | bga |
---|---|---|---|
Priority: | normal | Milestone: | R1.1 |
Component: | Applications/Mail | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev33939.
When attaching a zip archive to a mail, it appears simply as "attachment" not with it's proper filename, when sent to someone not using Haiku Mail. For example in my gmx.de webmail account or when sent so some MS Outlook shlob.
Mail shows the proper filename, independently if the BeOS attributes are sent with it or not.
JPEGs, PNGs, a HTML page and a TXT file came through unharmed.
Strangeness.
Attachments (1)
Change History (5)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
I first couldn't reproduce. Thought I went mad[[BR]] It looks like it only happening with attachments containing a non-ASCII(?) character. At least with my German Umlaut "ü". So... the zipped up mail is attached to this ticket.
Attached to this mail is a zip file called "bügs.zip", within it a text file named "bugs".
When viewed via the web mail interface, the enclosure appears renamed to "attachment". When it's downloaded from Haiku, Mail does show the correct filename "bügs.zip".
From Mail's preferences "No BeOS attributes" are sent with the mail, but even if you do, there's no different outcome.
by , 15 years ago
Attachment: | Test mail with attachment bügs.zip 20091116164049 Humdinger.zip added |
---|
Test mail with attached file "bügs.zip"
comment:3 by , 13 years ago
From http://www.ietf.org/rfc/rfc2183.txt:
In the 2.3 section, "The filename parameter".. :
Current [RFC 2045] grammar restricts parameter values (and hence
Content-Disposition filenames) to US-ASCII
So, I guess we should transcode the string to US-ASCII to follow the standard.
comment:4 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
Since Mail does not have any special treatment for ZIP files, this sounds indeed strange. Can you attach a problematic test mail to this ticket?