Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Save Link as behavior for blocked files by proxy

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 MT

more options

I am browsing the a proxy solution that is configured to block malicious files. I was testing the eicar file download through https://www.eicar.org/?page_id=3950. When I click on the download, my download is blocked and nothing happens (which is expected). However, if I right-click on the file and select "Save Link as" option, I get the block message, I get the pop-up window to save the file, and Firefox creates a file in the specified location. However, the file is invalid (obviously as the download was blocked). If I try the same with another Browser (like Chrome), it gives an error "Failed - Forbidden" for the download.

Trying to understand how Firefox handles such instances, does it first create a file in the specified location, even the file is not retrieved through the proxy? Why is firefox not giving an error message similar to other browsers if it actually fails to download the file.

I am browsing the a proxy solution that is configured to block malicious files. I was testing the eicar file download through https://www.eicar.org/?page_id=3950. When I click on the download, my download is blocked and nothing happens (which is expected). However, if I right-click on the file and select "Save Link as" option, I get the block message, I get the pop-up window to save the file, and Firefox creates a file in the specified location. However, the file is invalid (obviously as the download was blocked). If I try the same with another Browser (like Chrome), it gives an error "Failed - Forbidden" for the download. Trying to understand how Firefox handles such instances, does it first create a file in the specified location, even the file is not retrieved through the proxy? Why is firefox not giving an error message similar to other browsers if it actually fails to download the file.
附加的畫面擷圖

所有回覆 (2)

more options

That may be an unintended consequence of the recent changes to downloading. If you are sufficiently motivated, you could file a bug report. https://bugzilla.mozilla.org/

more options

Thanks @Terry.