Closed Bug 53768 Opened 25 years ago Closed 25 years ago

cannot handle "Content-Disposition: filename=abc.exe"

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 46071

People

(Reporter: m_kato, Assigned: mscott)

Details

the following header is handled. Content-Disposition: attachment;filename=abc.exe or Content-Disposition: inline;filename=abc.exe But the following header cannot be handled Content-Disposition: filename=abc.exe
Hmmm... mscott convinced me that he added this. Seems like it might be broken.
Assignee: gagan → mscott
Depends on what downloading code he's using. The code I put in to handle content-disposition explicitly looks for a ';' before the filename=. That was based on my reading of the W3 spec for that header (see ftp://ftp.isi.edu/in-notes/rfc2616.txt, section 19.5.1). It seems to state that the disposition parm is preceded by a semi-colon. Is filename= without a preceding attachment; or inline; kosher?
possibly a dup of bug 46071
Definate duplicate of bug 46071. Marking as such *** This bug has been marked as a duplicate of 46071 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.