Zip file is not getting downloaded in Chrome for mixed http content
Steps to reproduce
Steps:
Login into drupal 9 and create a new node- 'Test file zip'content having file field
Browse a zip file and add in file field and save it.
Create another test node - Title - 'Test', Body - Add Link field and attach the file node.
Open a new Incognito window and navigate to 'Test' node.
Expected Result:
The new zip file added should be displayed in 'Test' page and on clicking on it should open launch download of file
Actual Result:
Clicking on the file is not doing any action, download does not start, as Chrome is blocking the download by flagging it insecure.
Please note: The expected results are working for firefox, edge browsers, the issue is only with Chrome browser as its blocking zip,pdf files from being downloaded, as they have been marked insecure as there is http content in the drupal rendered page >>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| chromeblocking.JPG | 31.2 KB | sk_10 |
Comments
Comment #2
avpadernoComment #3
cilefen commentedWhere is the HTTP content coming from on the affected site, I don’t see how this would be a Drupal bug.
Comment #4
longwaveAgree with @cilefen, this would appear to be a problem with your specific site - perhaps an image or similar that uses an http:// link instead of https:// embedded in the page. Without a link to the site itself or further details of the HTTP content I am not sure there is much we can help with here.
Comment #6
sk_10 commented@longwave @cilefen -The issue got resolved after updating the core to 9.2.9. I am reviewing the multiple changes/ commits. The content of the page i.e http links or https links are as they are nothing is changed content wise. So it seems the issue might not be with drupal rendered page. It can be server side issue as well I am investigating on this at my website side. Other possibility can be chrome browser update.
Comment #7
avpadernoSInce this has been changed to a support request, the status should be Fixed, as the OP found the answer.