mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Setting `ResponseContentDisposition=attachment` means that we override the stored `ContentDisposition`, which includes a filename. This means that using the "Download" link on servers with S3 storage produced a file named the sanitized version we stored. Explicitly build a `ContentDisposition` to tell S3 to return, which includes both `attachment` as well as the filename (if we have it locally).