Closed
Bug 254518
Opened 21 years ago
Closed 21 years ago
Saving files with spaces in filenames from HTTPS sites result in truncated filename
Categories
(SeaMonkey :: Download & File Handling, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 221028
People
(Reporter: joz292, Unassigned)
Details
Attachments
(1 file)
|
25.52 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
When saving a file containing spaces in the file name, such as "ABC Article For
Review.doc", Mozilla's save as dialog incorrectly suggests a filename "ABC".
However Mozilla seems able to identify the file type as Word document. Also
applies to other file types if using the "Save Link Target As" function. Seems
to affect downloading from https pages only. Problem has been recurring since
Mozilla 1.6. This bug didn't affect Netscape 6.3.
Reproducible: Always
Steps to Reproduce:
On a secure page, clicking on a link to download a Word (or jpg, etc) document
triggers a save as dialog box.
Actual Results:
Save as dialog suggests filename that truncates all characters after the first
space, even though the file type is correctly identified.
Expected Results:
Save as dialog should suggest entire file name including all spaces.
Comment 2•21 years ago
|
||
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.
Comment 4•21 years ago
|
||
Almost certainly, yes, but I need to see the HTTP log to confirm that.
Is this what you're looking for:
1576[f12ff8]: http response [
1576[f12ff8]: HTTP/1.1 200 OK
1576[f12ff8]: Date: Sun, 08 Aug 2004 23:55:53 GMT
1576[f12ff8]: Server: Apache/1.3.26 (Unix) PHP/4.1.2 mod_ssl/2.8.10 OpenSSL/0.9.6e
1576[f12ff8]: X-Powered-By: PHP/4.1.2
1576[f12ff8]: Vary: User-Agent
1576[f12ff8]: Expires: Thu, 19 Nov 1981 08:52:00 GMT
1576[f12ff8]: Cache-Control: no-store, no-cache, must-revalidate,
post-check=0, pre-check=0
1576[f12ff8]: Pragma: no-cache
1576[f12ff8]: content-disposition: attachment; filename=John T CT Cap.doc
1576[f12ff8]: Content-Length: 68608
1576[f12ff8]: Keep-Alive: timeout=15, max=86
1576[f12ff8]: Connection: Keep-Alive
1576[f12ff8]: Content-Type: application/x-unknown-application-msword
1576[f12ff8]: ]
Comment 6•21 years ago
|
||
Yep. Note the line:
1576[f12ff8]: content-disposition: attachment; filename=John T CT Cap.doc
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.
*** This bug has been marked as a duplicate of 221028 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•