Closed Bug 244373 Opened 22 years ago Closed 22 years ago

Spaces in filenames as part of http Content-Disposition: not handeled correctly.

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 221028

People

(Reporter: yonasj, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Captured request from Ethereal: GET /SCRIPT/bus555ag1summer04/scripts/student/serve_bulletin?SHOWATTACH+BULLETIN+34/1216789734+573 HTTP/1.1 Host: webct.sfu.ca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://webct.sfu.ca/SCRIPT/bus555ag1summer04/scripts/student/serve_bulletin?VIEWMAILATTACH1+BULLETIN+573 Cookie: WebCTTicket=username%3Dyjongkin%26password%XXXXXXXX%26expiry%3D1085261619%26hash%3Dc7a90449c85a7aa5bc5bd90071b33fe9; sfu_ptoken=r6A5Q0kJVh1HmfeTqZUCGlS3WBR2QHGcfQKJ8mehacC8Ta8YfwxTmsPaAr2YqWF6 Captured response: HTTP/1.1 200 OK Date: Sat, 22 May 2004 18:34:07 GMT Server: Apache/2.0.49 (Unix) DAV/2 mod_jk/1.2.3-dev Content-Disposition: filename=The Financial Detective.doc Expires: Thu Jan 1 00:00:00 1970 Cache-Control: Private Set-Cookie: WebCTTicket=username%3Dyjongkin%26password%XXXXXXXX%26expiry%3D1085261647%26hash%3D65a2a9aecb2d334ad42983caf3d6afa1; path=/; domain=.sfu.ca Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/msword <<BINARY DATA>> The file name should have been "The Financial Detective.doc" but FireFox download manager reported as "The.doc" when I choose to open, and just "The" if I choose to download the link from the right click menu. Reproducible: Always Steps to Reproduce: I can reproduce it using the WebCT logon I have, but this will not work for you. But I beleive that the HTTP headers in the details should allow you to reproduce it.
I beleive that the key issue is how the header Content-Disposition: filename=The Financial Detective.doc is handled. Also, this does work perfectly in IE.
*** This bug has been marked as a duplicate of 221028 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 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.