搜尋 Mozilla 技術支援網站

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

了解更多

Downloaded Files, A generated PDF in particular, don't have the correct filename and are missing the extension.

more options

I am downloading regularly a generated PDF file from a website. The file might be named something like "Quote UX151133.pdf" and when it downloads in Firefox it comes down as only "Quote". Both Chrome and IE download the file correctly.

I am downloading regularly a generated PDF file from a website. The file might be named something like "Quote UX151133.pdf" and when it downloads in Firefox it comes down as only "Quote". Both Chrome and IE download the file correctly.

所有回覆 (1)

more options

This is an issue dating back about 15 years. Sites are not supposed to have spaces in an unquoted filename when sending a download header and Mozilla decided not to follow other browsers that fill in the gap.

http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download

Can you suggest to the site that they fix it? It should be pretty easy for them, either by adding quotation marks around the file name or replacing spaces with underscores. There are plenty of recipes online: content-disposition filename spaces firefox site:stackoverflow.com - Google Search