Closed Bug 271542 Opened 20 years ago Closed 20 years ago

spaces in content-disposition cause truncated filenames during downloads

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 221028

People

(Reporter: mike, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Content-disposition: inline; filename=this is a test.txt;

Firefox saves the filename as "this" instead of "this is a test.txt".  Internet
Explorer does the "right?" thing.

Reproducible: Always
Steps to Reproduce:
1. Download any file that has a content-dispotition header with spaces in the
filename

Actual Results:  
Firefox saves the filename as "this".

Expected Results:  
Firefox should have saved the filename as "this is a test.txt".
Nope, as usual, IE does the wrong thing.

*** This bug has been marked as a duplicate of 221028 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 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.