Summary | attachments with non-latin characters |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | vilius (at) lnk (dot) lt |
Created | 12/05/2006 (6781 days ago) |
Due | |
Updated | 12/06/2006 (6780 days ago) |
Assigned | 12/06/2006 (6780 days ago) |
Resolved | 12/06/2006 (6780 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
possible. But in this case I think it is more rationale to keep the
old behaviour (as in RFC2047), because this brakes a large amount of
clients. Especially when RFC2047 is not deprecated/bad standard or
something and the necessity for RFC2231 is questionable.
explicitly *forbids* traditional MIME encoding in parameter values.
See RFC 2047[5]:
An [RFC 2047] 'encoded-word' MUST NOT be used in parameter of a
MIME Content-Type or Content-Disposition field
The necessity isn't "questionable", it is required. 2231 describes
the justification. See also http://weblog.timaltman.com/node/834
display only. It seems that everytime I try to save such attacment it
is saved under different name. For example if I get ATT0001.zip in
outlook and save it, filename on disk becomes ATT00020.zip. This is
very confusing.
encoding may work w/outlook clients, but it doesn't work on other
clients. When confronted with differing behaviors, the choice is to
pick the standards way which is what we have done.
FYI, Opera, Thunderbird, and KMail (at a minimum) send w/ correct 2231
encoding. TheBat! was recently fixed to support 2231 decoding, so
upgrade if that is an issue (see
https://www.ritlabs.com/bt/view.php?id=4197)
Same issue as always - we are not going to fail to update our
software/be standards compliant based on the actions of a single/few
pieces of software.
Additionally, preserving correct filename information, in the grand
scheme of things, is probably the least important element of mail
delivery, especially considering some browsers can't reliably download
filename information anyway.
possible. But in this case I think it is more rationale to keep the
old behaviour (as in RFC2047), because this brakes a large amount of
clients. Especially when RFC2047 is not deprecated/bad standard or
something and the necessity for RFC2231 is questionable.
Also, I must note, that this is not the problem with attachment name
display only. It seems that everytime I try to save such attacment it
is saved under different name. For example if I get ATT0001.zip in
outlook and save it, filename on disk becomes ATT00020.zip. This is
very confusing.
State ⇒ Resolved
encoded parameters correctly:
http://www.faqs.org/rfcs/rfc2231.html
attachment in Thunderbird but not in Outlook/Outlook Express or The
Bat!.
This is what The Bat and Outlook generated when I tried to attach file
with non-latin characters:
Content-Disposition: attachment;
filename="=?UTF-8?B?dGVzdMSFxI3EmcSNxK/EmcSXxK8ueGxz?="
And this notation worked with all the clients above.
filename: myfile?????.zip
english equivalents, the filename is myfileacece.zip.
Content-Disposition: attachment;
filename*="utf-8''myfile%C4%85%C4%8D%C4%99%C4%8D%C4%99.zip"
filename: myfile?????.zip
So are you saying this is still the incorrect filename?
Content-Disposition: attachment;
filename*="utf-8''myfile%C4%85%C4%8D%C4%99%C4%8D%C4%99.zip"
"
Assigned to Michael Slusarz
State ⇒ Feedback
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ attachments with non-latin characters
Queue ⇒ IMP
State ⇒ Unconfirmed
filename created with IMP doesn't show up right in Outlook Express
anymore. I only get ATT00000 instead.