diff --git a/product/ERP5/mixin/downloadable.py b/product/ERP5/mixin/downloadable.py index 2fbfbb0e30fc3f627ccb886401109daba611926b..1f8a5ad5fff248e9d9b59518751edb94b99f44a3 100644 --- a/product/ERP5/mixin/downloadable.py +++ b/product/ERP5/mixin/downloadable.py @@ -102,7 +102,7 @@ class DownloadableMixin: RESPONSE.setHeader('Content-Type', mime) if output_format not in (VALID_TEXT_FORMAT_LIST + VALID_IMAGE_FORMAT_LIST): # need to return it as attachment - filename = self.getStandardFileName(format=format) + filename = self.getStandardFilename(format=format) RESPONSE.setHeader('Content-Disposition', 'attachment; filename="%s"' % filename) RESPONSE.setHeader('Accept-Ranges', 'bytes')