Closed
Bug 375236
Opened 18 years ago
Closed 18 years ago
No Data will be sent if javascript sets the file-input to NULL
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: j.jarosch, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
When you have an Form like this one:
<form action="upload.php" name="uploadform">
<input type="file" name="upload" />
<input type="submit" value="upload" />
</form>
And you select a file and javascript sets the file-value to ZERO, like this:
javascript:document.uploadform.upload.value='';
And you select a file the second time, and press submit, nothing will be uploaded, only the postvars will be submited...
This is a great problem if you try to upload via iframes more than 1 file with only 1 form...
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Updated•18 years ago
|
Assignee: nobody → form-submission
Component: Form Manager → HTML: Form Submission
Product: Firefox → Core
QA Contact: form.manager → ian
Version: unspecified → 1.8 Branch
Reporter | ||
Comment 1•18 years ago
|
||
sorry, the example should be:
<form action="upload.php" name="uploadform" method="post" enctype="multipart/form-data">
<input type="file" name="upload" />
<input type="submit" value="upload" />
</form>
Reporter | ||
Updated•18 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Comment 2•18 years ago
|
||
Jakob, you resolved this WORKSFORME. I'm assuming you're not seeing the issue anymore?
Reporter | ||
Comment 3•18 years ago
|
||
I'm quite sure there was an issue somewhere and I really tried to solve it for a long time but as nothing worked, I decided to skip that part of the project. Unfortunately I'm no longer able to reproduce this bug anymore with the steps I submitted.
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•