Closed Bug 277788 Opened 20 years ago Closed 19 years ago

Download does not handle file names with spaces properly

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 221028

People

(Reporter: rzey, Assigned: bugs)

Details

The download to disk does not handle long names with spaces. It clips the name
at the first space thus loosing the extension.
Do you have an example URL? I have never had this problem.
Almost certain to be either a Tech Evangelism bug (if it's a particular server)
or a dup of bug 221028 (if you're doing it yourself). The filename should be
suggested with

Content-Disposition: attachment; filename="foo bar.baz"

with quotes around the filename if it includes spaces, because otherwise it's
not possible to tell spaces from non-ASCII characters in internationalized
filenames.
Create a .txt file called file with spaces.txt and one called
file_with_underscores.txt.

Email them to a Yahoo Account.

Download them.

Extensions are stripped.
Yes, that would be bug 252309 the Tech Evangelism bug for Yahoo Mail. And since
this isn't turning into anyone else's TE bug, it's a dup of bug 221028.

*** This bug has been marked as a duplicate of 221028 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.