Closed Bug 309622 Opened 19 years ago Closed 19 years ago

the file name with spaces is cut on the first space in case of Content-Disposition: attachment; filename=

Categories

(Toolkit :: Downloads API, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 221028

People

(Reporter: fn41523, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

if the script send the file with spaces in his name to the browser with the
Content-Disposition header for example:

Content-Type: image/gif
Content-Disposition: attachment; filename=My File.gif

only the the first word ("My" in the above example) is selected as a default
file name.

Reproducible: Always

Steps to Reproduce:
1. it is written in the details
2.
3.
The correct way is:

Content-Disposition: attachment; filename="My File.gif"

*** 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.