Closed
Bug 255732
Opened 21 years ago
Closed 21 years ago
download filename is shortened
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 252309
People
(Reporter: u151698, Assigned: bugs)
Details
Attachments
(1 file)
|
41.62 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
When a file is downloaded and it has a filename with a space character, the
filename is sometimes shortened to only the name before the space + extension.
For example "work 0813.xls" becomes "work.xls."
I've seen this happen when being asked to save a file, and also when a file is
automatically saved for an external app (.torrent for example).
Reproducible: Always
Steps to Reproduce:
One site that anyone can reproduce this easily everytime is in Yahoo's webmail:
1. Have someone email a file with a space in the filename.
2. Download it.
Please create an HTTP log as described at
http://www.mozilla.org/projects/netlib/http/http-debugging.html and attach it to
this bug. I guess it is Bug 221028.
I just read the bug you linked. That sounds depressing if this is the same case.
Your log shows it ...
3728[aac518]: http response [
3728[aac518]: HTTP/1.1 200 OK
3728[aac518]: Date: Mon, 16 Aug 2004 17:19:38 GMT
...
3728[aac518]: content-disposition: attachment; filename=space test file name.txt
3728[aac518]: Content-Description: space test file name.txt
3728[aac518]: Connection: close
3728[aac518]: Transfer-Encoding: chunked
3728[aac518]: Content-Type: application/download; filename="foo.bar"
3728[aac518]: ]
Note the line:
3728[aac518]: content-disposition: attachment; filename=space test file name.txt
The filename param is either a quoted string or characters up to the first
"non-word" character (such as whitespace).
You may want to contact the site maintainer and ask him to put quotes around the
filenames so they'll work right. There exists a Tech Evang bug for
mail.yahoo.com so please resolve this bug as duplicate of Bug 252309.
*** This bug has been marked as a duplicate of 252309 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
Updated•18 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•