Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Sandboxed Iframe allows download without dowloads being enabled

  • Amul benn tontu
  • 0 am na jafe-jafe bii
  • 2 views
more options

I recently noticed that a sandboxed iframe without the 'allow downloads' flags set still automatically downloads files when the src of the iframe is set to an url that triggers a download (e.g. https://download.mozilla.org/?product=firefox-stub&os=win&lang=en-US). This is not the behaviour I would expect but I can't find any information about this specific case in the documentation. Can someone tell me if this is intended behaviour, a bug or a grey zone in the HTML specification.

I recently noticed that a sandboxed iframe without the 'allow downloads' flags set still automatically downloads files when the src of the iframe is set to an url that triggers a download (e.g. https://download.mozilla.org/?product=firefox-stub&os=win&lang=en-US). This is not the behaviour I would expect but I can't find any information about this specific case in the documentation. Can someone tell me if this is intended behaviour, a bug or a grey zone in the HTML specification.