Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Incorrect file name from Download component DownloadServlet.java #2903

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zivkos
Copy link

@zivkos zivkos commented Dec 15, 2024

Incorrect file name from Download component for "inline" asset #2751

Q                       A
Fixed Issues? #2751
Patch: Bug Fix?
Minor: New Feature?
Major: Breaking Change?
Tests Added + Pass? Yes
Documentation Provided Yes (code comments and or markdown)
Any Dependency Changes?
License Apache License, Version 2.0

in com.adobe.cq.wcm.core.components.internal.servlets.DownloadServlet, have Change the following line:
response.setHeader(CONTENT_DISPOSITION_HEADER, "inline");
to
response.setHeader(CONTENT_DISPOSITION_HEADER, "inline; filename="" + filename + """);

Incorrect file name from Download component for "inline" asset adobe#2751
@zivkos zivkos marked this pull request as draft December 15, 2024 20:23
@zivkos zivkos marked this pull request as ready for review December 15, 2024 20:24
@zivkos zivkos closed this Dec 15, 2024
@zivkos zivkos reopened this Dec 15, 2024
@zivkos
Copy link
Author

zivkos commented Dec 19, 2024

Hi @vladbailescu, hope you are well. Is it possible for this PR to be review ? Many thanks
Zivko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant