For Confluence 3.1.2, please find attached a patch that includes fixes from CONF-17718 and CONF-19045: servlet.zip
You need to unzip the file so the directory structure is as follow: <confluence install>/confluence/WEB-INF/classes/com/atlassian/confluence/servlet/download and restart Confluence.
There will be three files in /download folder: AttachmentDownload.class, AttachmentDownload$MimeTypeTranslator$MimeTypeTranslation.class, AttachmentDownload$MimeTypeTranslator.class.
After you have unzipped the patch their path should look like this:
edit: the patch works for 3.0.x as well
Dear Suma Ramki,
Are you referring to
CONF-18951? Yes, that was fixed in Confluence 3.3.Best regards,
Stefan