@rockbenben opened this Issue on October 21st 2022

When I click on the http type download link on the page with matomo, it returns nothing. I tried changing the link from http to https, so it can be downloaded properly.

Will we be able to make Matomo compatible with HTTP downloads?

Your Environment

  • Matomo Version: 4.12.2

  • PHP Version:7.4.30

  • Server Operating System: CentOS 8.4.2105 x86_64(Py3.7.8)

  • Browser: Chrome 106.0.5249.119

  • Operating System: Windows 11

@bx80 commented on October 26th 2022 Contributor

Hi @rockbenben, thanks for reaching out.

Could you explain a bit more which page with Matomo has the http download link that does not work for you? Is this on www.matomo.org or an update page on your Matomo installation? If you could post the full link or a screenshot that would help us pinpoint the issue.

@rockbenben commented on October 27th 2022

Here's the page code and demo. The bug occurs when downloading http files using the Chrome browser's own download manager.
Demo Page: https://stackblitz.com/edit/web-platform-5muhj8?file=index.html
image

@sgiehl commented on October 27th 2022 Member

@rockbenben If your demo page is on https, ir might be possible that chrome itself blocks clicks/downloads on http links/downloads due to an insecure context switch. For Matomo itself it should not be relevant if the link if http or https.

@rockbenben commented on October 27th 2022

@rockbenben If your demo page is on https, ir might be possible that chrome itself blocks clicks/downloads on http links/downloads due to an insecure context switch. For Matomo itself it should not be relevant if the link if http or https.

got it, Thanks.

This Issue was closed on October 27th 2022
Powered by GitHub Issue Mirror