Merge pull request #570 from ilvalle/fix-stream

fix issue 2029: response.stream bug with spaces in filename
This commit is contained in:
mdipierro
2014-12-22 22:31:57 -06:00
+1 -1
View File
@@ -551,7 +551,7 @@ class Response(Storage):
else:
attname = filename
headers["Content-Disposition"] = \
"attachment;filename=%s" % attname
'attachment;filename="%s"' % attname
if not request:
request = current.request