diff --git a/VERSION b/VERSION index daec3cd8..2588c406 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.3.0 (2012-12-05 16:34:11) rc1 +Version 2.3.0 (2012-12-05 16:48:37) rc1 diff --git a/gluon/globals.py b/gluon/globals.py index 8a8bc093..1c6dc04d 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -405,7 +405,7 @@ class Response(Storage): headers['Content-Type'] = contenttype(name) if attachment: headers['Content-Disposition'] = \ - 'attachment; filename=%s' % filename + 'attachment; filename="%s"' % filename.replace('"','\"') return self.stream(stream, chunk_size=chunk_size, request=request) def json(self, data, default=None):