diff options
| author | Olivier Dony <odo@openerp.com> | 2012-03-16 14:08:03 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-03-16 14:08:03 +0100 |
| commit | 972a0a4557498aee10ab117ce63ea80da65ce36b (patch) | |
| tree | bdd716a32e7e7a0ec2ca53abdbaee0b3e7898f72 /addons/web_graph/static/lib/dhtmlxGraph/codebase | |
| parent | b37d72428b6f87fb6873ef101be6db8aece23528 (diff) | |
[FIX] ir_mail_server: make attachment filename work properly on GMail
The default Python encoding for mail header parameters
is RFC2231, which produces headers of the form:
Content-Disposition: attachment; filename*="utf-8abcd%C3%A9.pdf"
This works fine for e.g. Thunderbird but on GMail
such headers appear as `noname`.
We are therefore falling back to RFC2047 encoding
which will instead give something like:
Content-Disposition: attachment; filename="=?utf-8?b?UmVxdWVzdCf?="
bzr revid: odo@openerp.com-20120316130803-zo4fwuk7h6bq6k54
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions
