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

搜尋 Mozilla 技術支援網站

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

了解更多

我在下載某些網頁的東西時,只彈出下載downloadattachment.php,而不是原本的檔案,但在其他瀏覽器則可以。

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

more options

我在下載某些網頁的東西時(有下載按鈕),按下只彈出下載downloadattachment.php,而不是原本的檔案,但在其他瀏覽器則可以。

我在下載某些網頁的東西時(有下載按鈕),按下只彈出下載downloadattachment.php,而不是原本的檔案,但在其他瀏覽器則可以。

被選擇的解決方法

Question according to Google Translate:
I downloaded some of the things that Web page (for the download button), press only the pop-up download downloadattachment.php, rather than the original files, but other browsers can.
After updating FIREFOX


If you get downloadattachment.php for every download instead of the original files after updating to Firefox 8 then the server is probably sending an illegal Content-Disposition header. In Firefox 8 this is no longer allowed and the filename will not be recognized.
For example if the server sends:
Content-Disposition: attachment; filename*="ABC.doc"
This is working in Firefox 7, but it is not working in Firefox 8 and the server needs to be fixed.

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

Question according to Google Translate:
I downloaded some of the things that Web page (for the download button), press only the pop-up download downloadattachment.php, rather than the original files, but other browsers can.
After updating FIREFOX


If you get downloadattachment.php for every download instead of the original files after updating to Firefox 8 then the server is probably sending an illegal Content-Disposition header. In Firefox 8 this is no longer allowed and the filename will not be recognized.
For example if the server sends:
Content-Disposition: attachment; filename*="ABC.doc"
This is working in Firefox 7, but it is not working in Firefox 8 and the server needs to be fixed.

more options

not every file be downloadattachment.php , but some file be. (now, i used firefox7,so now is ok)So, i hope mozilla company can deal with this problem(firefox8).Thankyou

由 chiming139 於 修改