diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-05-07 11:34:48 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-07 11:34:48 +0200 |
| commit | 272e085df444483e451f4953ad5a97b1de023018 (patch) | |
| tree | 619ab100c23fa1c92b1d67c130e358a356a0e5dd /addons/web/controllers | |
| parent | 610a46109973a2d3be20c853f5210cfa11eac211 (diff) | |
| parent | da93981cb025175d664e022a2bc89c296e9f3b81 (diff) | |
[MERGE] forward port of branch saas-3 up to da93981
Diffstat (limited to 'addons/web/controllers')
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index dd6a3e83bd7..774b9cda712 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -450,7 +450,7 @@ def content_disposition(filename): if browser == 'msie' and version < 9: return "attachment; filename=%s" % escaped elif browser == 'safari': - return "attachment; filename=%s" % filename + return "attachment; filename=\"%s\"" % filename else: return "attachment; filename*=UTF-8''%s" % escaped |
