Closed
Bug 261413
Opened 21 years ago
Closed 21 years ago
When you download a file which name contains space character, it is saved with a wrong name
Categories
(SeaMonkey :: Download & File Handling, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ikerh, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
In several releases of Mozilla browsers family over Windows and Linux appears
this bug:
When you download a file which name contains space character, it is saved with a
wrong name: the file name part before the first space character.
Example:
The webapp sent to the web client the next response (filename=my car.jpg):
HTTP/1.1 200 OK
Date: Fri, 24 Sep 2004 11:04:59 GMT
Server: Apache/2.0.51 (Unix) mod_ssl/2.0.51 OpenSSL/0.9.7d PHP/4.3.9-dev
mod_jk2/2.0.2
Content-Disposition: attachment;filename=my car.jpg
Accept-Ranges: Bytes
Content-Type: image/jpeg;charset=ISO-8859-1
Content-Length: 95603
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
And the Mozilla browser save the file with the name: my
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•21 years ago
|
||
> Content-Disposition: attachment;filename=my car.jpg
Filnames with spaces in them MUST be quoted (filename="my car.jpg"). We used to
support reading past the space in unquoted strings, but that breaks valid
non-English filenames, so we have gone back to the spec behavior so that we
don't break valid non-Enlish sites.
Please contact the maintainer of the server sending that bogus header and ask
them to fix their code.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•