File name is truncated when "save this file to disk" is selected



Core Graveyard
File Handling
16 years ago
2 years ago


(Reporter: amutch, Assigned: Chak Nanga)


Windows XP

Firefox Tracking Flags

(Not tracked)





16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.7) Gecko/20011221
BuildID:    2001122106

The full file name of the file to be downloaded does not appear in the "File
Name" box when you select "save this file to disk".

Reproducible: Always
Steps to Reproduce:
1. Browse to URL above
2. When Downloading dialog box appears, select "save this file to disk" and
click on "OK"
3. "Enter Name of File to Save to..." window appears and truncated file name
appears in "File Name" box.

Actual Results:  File name is truncated at the hyphen

Expected Results:  Complete file name should appear in "File Name" box.

Comment 1

16 years ago
HTTP/1.1 403 Forbidden

Comment 2

16 years ago
->file handling
Assignee: asa → law
Component: Browser-General → File Handling
QA Contact: doronr → sairuh
The server is refusing connections so I can't test it.  There is just no
webserver running on that host. Reporter, is this still a problem?

Comment 4

16 years ago
Mozilla is now handling this properly and listing the full file name.  MFCEmbed
is still not handling it properly and is including the "root" directory name in
the file name. Someone from embedding should probably look at that behavior. 
See this test page:

[For Embedding Only]
over do Adam (MFCEmbed bug)
Assignee: law → adamlock
Ever confirmed: true

Comment 6

16 years ago
-> Chak
Assignee: adamlock → chak

Comment 7

16 years ago
Same behavior on:

The file "" will be renamed to "ONS.ZIP"...

Tested on WinXP with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020611
The site sends the following HTTP header:

Content-Disposition: file; filename=ONS.ZIP

and we honor that.  So the behavior there is exactly correct.

Note comment 4 -- this is no longer a Mozilla bug, but an MFCEmbed bug _only_.
QA Contact: sairuh → petersen

Comment 9

15 years ago
This appears to be working in the latest nightly's of MFCEmbed. Please close
this bug accordingly. 
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.