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

cannot download HTTP file #19898

Closed
rockbenben opened this issue Oct 21, 2022 · 4 comments
Closed

cannot download HTTP file #19898

rockbenben opened this issue Oct 21, 2022 · 4 comments
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@rockbenben
Copy link

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

@rockbenben rockbenben added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Oct 21, 2022
@bx80
Copy link
Contributor

bx80 commented Oct 26, 2022

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.

@bx80 bx80 added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Oct 26, 2022
@rockbenben
Copy link
Author

rockbenben commented Oct 27, 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
Copy link
Member

sgiehl commented Oct 27, 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.

@rockbenben
Copy link
Author

@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.

@elabuwa elabuwa added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

4 participants