summaryrefslogtreecommitdiff
path: root/addons/plugin/plugin_handler.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2014-01-02 17:11:49 +0100
committerDenis Ledoux <dle@openerp.com>2014-01-02 17:11:49 +0100
commitbc50cd3558de6feec3e062d2da88dc4433ddbda3 (patch)
treeb1aa2d4123d8026cef78ebfb74a71a8e99176822 /addons/plugin/plugin_handler.py
parente0951d6e18676ac0b6609ab5c16ee0cb86623369 (diff)
[FIX] mail: mails with attachments containing special chars (such as é) were not delivered properly
get_filename method from email lib returns sometimes decoded value, sometimes still encoded. for instance, get_filename cannot decode iso encoded filename Recently, decode method has been applied on filename string, to handle iso encoded file. Sadly, one cannot decode already decoded values. Therefore, decoding already decoded windows or utf-8 encoded filename with special chars failed. bzr revid: dle@openerp.com-20140102161149-x268xj7bzvvsit2h
Diffstat (limited to 'addons/plugin/plugin_handler.py')
0 files changed, 0 insertions, 0 deletions