summaryrefslogtreecommitdiff
path: root/addons/web/controllers
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-05-11 15:12:24 +0200
committerChristophe Simonis <chs@odoo.com>2015-05-11 15:12:24 +0200
commit0da722aa6a3a5b2ea8a9f740ea2ccc5ed2260b0a (patch)
tree9005a0ab8df9df374dda2d3cb4c8564bc73a023c /addons/web/controllers
parentd756bab4d1d89af414b80523124b463252f31159 (diff)
parentbff6dffbb424a9ab458ae8fc2044f0b52490c36b (diff)
[MERGE] forward port of branch 8.0 up to bff6dff
Diffstat (limited to 'addons/web/controllers')
-rw-r--r--addons/web/controllers/main.py2
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