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

Download in sandboxed iframe #8298

Closed
NormaalMeneer opened this issue Sep 20, 2022 · 1 comment
Closed

Download in sandboxed iframe #8298

NormaalMeneer opened this issue Sep 20, 2022 · 1 comment

Comments

@NormaalMeneer
Copy link

I have a use case where a user can provide the URL of a site, which will then be loaded into a sandboxed iframe. I was testing this a bit and found that, even though no 'allow-download' flag was set, the user still could trigger a download by providing a URL pointing directly to a downloadable file (e.g. https://download.mozilla.org/?product=firefox-stub&os=win&lang=en-US). The download triggered in multiple different browsers and I searched through the documentation about iframes but could not find anything related to this specific case.

Can someone please tell me if this is intended behavior?

@NormaalMeneer
Copy link
Author

After further investigation, it seems that the issue is caused by the angular framework.

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

No branches or pull requests

1 participant