Closed Bug 505207 Opened 15 years ago Closed 15 years ago

Bad name for a downloaded file

Categories

(Firefox :: General, defect)

3.5 Branch
PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 221028

People

(Reporter: Barre.Jacky, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_7; fr-fr) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

If in the Header Field  "Content-Disposition: attachment; filename=Direct Soir_588_edition_10_07_2009.pdf" the file name contains a blank space, so the file saved is named "Direct". Remarks with Safari this work fine and the saved file is named "Direct Soir_588_edition_10_07_2009.pdf".

Reproducible: Always

Steps to Reproduce:
1. get http;//directsoir.directmedia.fr
2. click on "Direct Soir en PDF"
3. click on image Télécharger
Actual Results:  
I get the file (4 849 863 bytes) named "Direct", if I rename with Direct.pdf this file is correctly open by Acrobat Reader.

Expected Results:  
With Safari the behavior is correct, but it's a MINOR bug.

None
Version: unspecified → 3.5 Branch
That's a bug on the webserver : the filename should be quoted like this :

Content-Disposition: attachment; filename="Direct Soir_588_edition_10_07_2009.pdf"
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: