You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The same issue occurs with PDF files as well. Even when the browser successfully displays the file inline, if the user tries to save it, the filename is appended with "coredownload.inline.pdf", which originates from the selectors used by the DownloadServlet.
zivkos
added a commit
to zivkos/aem-core-wcm-components
that referenced
this issue
Dec 15, 2024
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:
The text was updated successfully, but these errors were encountered: