If my Download component references a PPTX file (a file my browser doesn't know how to display "inline") but the user selects the "Display inline" option on the dialog anyway, when my browser attempts to open the file and instead downloads it (because it doesnt know how to inline it) I get a filename with the selectors used by the Download servlet: <filename>.pptx.coredownload.inline.pptx. The file instead should download with the same file name as if it was not being inlined - i.e. <filename>.pptx.
Bug present as of version: 2.24.7-SNAPSHOT
If my Download component references a PPTX file (a file my browser doesn't know how to display "inline") but the user selects the "Display inline" option on the dialog anyway, when my browser attempts to open the file and instead downloads it (because it doesnt know how to inline it) I get a filename with the selectors used by the Download servlet:
<filename>.pptx.coredownload.inline.pptx
. The file instead should download with the same file name as if it was not being inlined - i.e.<filename>.pptx
.Bug file: com.adobe.cq.wcm.core.components.internal.servlets.DownloadServlet
Change the following line:
to: