Closed Bug 529859 Opened 15 years ago Closed 15 years ago

Empty file inputs are no longer submitted

Categories

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

x86
macOS
defect

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta4-fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached file Testcase
This is a regression from bug 523771.  Testcase attached.  fx3.5 and Safari both show, after submitting:

  Content-Disposition: form-data; name="f"; filename=""

Whereas m-c shows nothing.

If I'm right, this is breaking at least one intranet-like site (reported in #developers this morning).
Flags: blocking1.9.2?
Flags: blocking1.9.2? → blocking1.9.2+
bz has a patch
Assignee: nobody → bzbarsky
Priority: -- → P1
Keywords: regression
Attached patch FixSplinter Review
Attachment #413377 - Flags: review?(jonas)
Comment on attachment 413377 [details] [diff] [review]
Fix

I tested this also on IE, and yeah, the patch gives us back the behavior what other browsers have.
Attachment #413377 - Flags: review?(jonas) → review+
Pushed http://hg.mozilla.org/mozilla-central/rev/54cf88d09819
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.