Closed Bug 59242 Opened 24 years ago Closed 23 years ago

file upload form post should use cont-disposition to convey time info

Categories

(Core :: Layout: Form Controls, enhancement, P3)

enhancement

Tracking

()

VERIFIED DUPLICATE of bug 44464
mozilla0.9.1

People

(Reporter: havill, Assigned: pollmann)

Details

Attachments

(1 file)

Content-Disposition allows for the "modification-date" and "creation-date" to be
passed, to allow the host to be able to more faithfully recreate an uploaded
file (for example, a HTML FORM interface where FTP or HTTP PUT is not possible).

And by passing the size in the header, server side software can abort a POST
early if it knows the
file size is too large and saving the user from finding out near the end. There
is the total Content-Length, but this doesn't reflect the possible allowed size
of one file.

As for backwards compatibility and standards, naiive parsers that relied on a
fixed format may fail with this method, although with careful placement of the
date fields (after the fields present in Nav 4.x for parsers that do a simple
LEFT$() filter) the risk can be minimized. On the other hand, these server
scripts were bound to break with other browsers.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: approval, patch, review
reassigning
Assignee: rods → pollmann
Setting milestone to mozilla0.9.1
Target Milestone: --- → mozilla0.9.1
QA Contact Update
QA Contact: bsharma → vladimire
bug 44462 has a patch which does this, and is more generic to
solving/implementing the remaining multipart/form-data standards support.

*** This bug has been marked as a duplicate of 44462 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Shoot! Typo! This bug with the solution to this is bug 44464, not bug 4446_2_.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Sorry for the spam...

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

Attachment

General

Creator:
Created:
Updated:
Size: