diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-05-11 15:12:24 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-05-11 15:12:24 +0200 |
| commit | 0da722aa6a3a5b2ea8a9f740ea2ccc5ed2260b0a (patch) | |
| tree | 9005a0ab8df9df374dda2d3cb4c8564bc73a023c /addons/web/controllers | |
| parent | d756bab4d1d89af414b80523124b463252f31159 (diff) | |
| parent | bff6dffbb424a9ab458ae8fc2044f0b52490c36b (diff) | |
[MERGE] forward port of branch 8.0 up to bff6dff
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 893caf3040d..663a6adde09 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -451,7 +451,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 |
