Closed Bug 122350 Opened 23 years ago Closed 23 years ago

empty file upload field causes form submit to hang!

Categories

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

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 116210

People

(Reporter: jasonpell, Assigned: alexsavulov)

Details

From Bugzilla Helper:
BuildID:    2001122106

I have a FILE input type field in a form, which is OPTIONALLY submitted with a 
file specified.  When I specify a file via the 'Browse...' button all works 
correctly.  However when I try to submit the form with an empty file input 
field, the form hangs.  If I wait quite a while and then cloick the 'stop' 
button the form actually does get uploaded correctly, but the page never gets 
refreshed...

Reproducible: Always
Steps to Reproduce:
1. A test html page with at least one input type=file field.
2. Post the form to PHP or Java Servlet (I cannot test cgi!)
   without choosing a file via the 'Browse...' button.
3. The browser will hang there.  

Actual Results:  Nothing, the browser will hang.

Expected Results:  I expect the form to be submitted with a empty part for the 
file field.

It also fails on Linux Redhat 7.1 with the same Mozilla version.
This works in netscape 4.7x and more importantly Netscape 6.2!

Note: This is causing major problems for me when trying to use Sourceforge to 
submit releases for my projects.  I have had to resort to IE and Netscape 4.7.  
I do not use Netscape 6.2, as it leaks like crazy!
This appears to have been fixed in (Build ID: 2002012803).  
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE

*** This bug has been marked as a duplicate of 116210 ***
verifying
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.