Closed Bug 191586 Opened 23 years ago Closed 23 years ago

Mozilla performs multiple POST submissions on page load timeout or cgi timeout

Categories

(Core :: Networking: HTTP, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 184122

People

(Reporter: thomas.swan, Assigned: darin.moz)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Mozilla will perform repeated POST operations on forms if the receiving form terminates prematurely or Mozilla times out on page retrieval (I have been unable to determine which case) multiple times until stopped. Case in point a project I was working on generated a form page with over 500 elements and it had an unusually long resolution time (> 60+ seconds). Mozilla would post and either timeout or the script would timeout and end prematurely. Mozilla continued to post to the script multiple times without issuing an error. The session reported as 10 submissions to the same form by the browser from my one post operation. This same thing happened during a large move of message in webmail. Mozilla reposted the request and the script returned an error. Multiple form submissions without a message such as ("The POST operation failed, or ended do you want to resubmit?" is dangerous. Reproducible: Sometimes Steps to Reproduce: 1. Create a form page that keeps hit information in a session but put large delays so the script execution time will take more than 60 seconds 2. Post to the form page 3. Mozilla will seem to post indefinitely Actual Results: Mozilla repeatedly submitted the form. Expected Results: Mozilla should have submitted the form only once and displayed the resulting page or issued an error warning the POST operation had failed. It should NOT have attempted to submit the form multiple times. I'm working on a public script so I can demonstrate this fully. Also, I can repeat this most of the time, not the sometimes indicated above.
to http networking. Note that this all got rewritten recently, so retesting with a current nightly (or 1.3beta once it's available) would be nice.
Assignee: form-submission → darin
Component: Form Submission → Networking: HTTP
QA Contact: vladimire → httpqa
*** This bug has been marked as a duplicate of 184122 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.