Closed Bug 274435 Opened 20 years ago Closed 20 years ago

Content-disposition header's (RFC 2183) filename truncated at Space Character

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 221028

People

(Reporter: bugzilla.mozilla.org, Assigned: darin.moz)

Details

I hope I picked the right component for this issue :)

A page contains a link to an CGI that creates a file and sends it back to the
client so the user can open or save it.


Mozilla gets the filename wrong, it cuts of everything after a space character.
For example I have a response like 

HTTP/1.x 200 OK
Server: Microsoft-IIS/5.1
Date: Mon, 13 Dec 2004 14:50:07 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Content-Encoding: gzip
content-disposition: attachment; filename=P-34567-00 prop test 2 BeforeAfter
12132004(0).xls
Cache-Control: private
Content-Type: application/ms-excel.vnd
Content-Length: 10000


in the "Save" Dialog Mozilla suggests the filename "P-34567-00"
the rest is cut off


works in MSIE
not a bug... content-disposition filenames must be quoted.

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