-
Notifications
You must be signed in to change notification settings - Fork 754
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
Conversation
Incorrect file name from Download component for "inline" asset adobe#2751
|
Hi @vladbailescu, hope you are well. Is it possible for this PR to be review ? Many thanks |
Can someone review PR please ? |
@zivkos , this change is causing a unit test to break:
|
Ok i will fix test.. |
|
@vladbailescu, test have been fix, can you please take a look ? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2903 +/- ##
=========================================
Coverage 87.14% 87.14%
Complexity 2697 2697
=========================================
Files 235 235
Lines 7202 7202
Branches 1104 1104
=========================================
Hits 6276 6276
Misses 366 366
Partials 560 560 ☔ View full report in Codecov by Sentry. |
Incorrect file name from Download component for "inline" asset #2751
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 + """);