Closed Bug 58189 Opened 24 years ago Closed 23 years ago

file-upload should send Content-Transfer-Encoding header

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: havill, Assigned: pollmann)

Details

(Whiteboard: fix in hand)

Attachments

(2 files)

As per the example in
<URL:http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2>, file uploads
really should
set the Content-Transfer-Type when sending a file, as raw binary data can be
spit into the POST and web side programmers
can more easily use pre-built MIME parser contents to handle the
multipart/form-data post.
Confirming this as it was split from bug 58033
Status: UNCONFIRMED → NEW
Ever confirmed: true
reassigning
Assignee: rods → pollmann
this bug has a patch which needs to be reviewed. adding keywords
Keywords: patch, review
r=pollmann for this change, but it needs to be thoroughly tested with some
existing file upload sites.  Adrian, what kind of testing have you done with
this change?
Status: NEW → ASSIGNED
Eric Pollman wrote:
> r=pollmann for this change, but it needs to be thoroughly tested with some
> existing file upload sites.  Adrian, what kind of testing have you done with
> this change?

Currently testing against the file upload (multiform/form-data) parser library
routines included with Perl, JSP, Java servlets, and PHP. I need help testing
against the file upload (multipart/form-data) parser libraries for MS ASP-based
IIS scriptlets as I don't have access to that architecture.

In the meantime, I've deactivated this code included in bug 44464 by making a
NS4_COMPATIBLE_MULTIPART_FORM macro. To test/enable this functionality, undefine
the above or set it to false.

Will try for Moz 0.9
Target Milestone: --- → mozilla0.9.1
Target Milestone: mozilla0.9.1 → mozilla0.9
Whiteboard: fix in hand
Fix checked in.  Thanks for the patch and help Adrian, sorry it took so long to 
get this checked in!

Do you have any test cases that could be used to easily verify that this bug 
was fixed?  If not I can cook one up, but let me know.  :)
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verifying on build 2001-05-03-04-trunk windows 98
Status: RESOLVED → VERIFIED
See bug 83065, a regression caused by this patch.  (Of course, it was only a
matter of time before these little darlings started crawling out of the woodwork
with their beady little assumptions.)  I think the correct fix in this case is a
server-side fix, but I'm still investigating...
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: