Closed
Bug 459940
Opened 16 years ago
Closed 14 years ago
POST, Refresh (and resubmit data), Redirect using GET will continue to POST DATA on refresh
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: moses.lecce, Unassigned)
Details
(Whiteboard: [CLOSEME 2010-11-01])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
If you have a page which will conduct a form POST (to itself) and you want to detect that the form will be re-posted when the user presses the refresh button on their browser you may do so (using session variables for example). When you have detected the fact that this is a re-post you may safely redirect (Header response 303 or 302) the user back to the same page as a GET (to avoid the POSTDATA from being sent to the page again). This works fine until the user attempts to refresh the page a second time, at which point the original POSTDATA from your first POST is saved and the browser will attempt to REPOST this data to the GET (redirected) page.
Reproducible: Always
Steps to Reproduce:
1. POST to a page
2. Refresh the page (and re-submit post data)
3. (Detect that the page has been re-posted) redirect back to the same page using header 303 or 302 to produce a GET request
4. Refresh the page (it will once again request to re-submit post data), clicking yes will re-post the original form data
Actual Results:
The form data is re-posted to the last step #4 and available to the page
Expected Results:
The data should not be posted to the page in step #4 (nor should the dialog appear which asks for permission to re-post the data)
Comment 1•14 years ago
|
||
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version.
Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Comment 2•14 years ago
|
||
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•