Closed Bug 204144 Opened 23 years ago Closed 23 years ago

form with method = POST does POST then GET

Categories

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

defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: dbowen, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 Clicking Download with this form causes first a POST (correct) and then a GET (wrong) request to be sent to the server. <form method="post" action="http://localhost/cgi-bin/elvis"> <input type="hidden" name="bundleID" value="21.16"> <input type="submit" value="download"> </form> Reproducible: Always Steps to Reproduce: 1. Set up a cgi-script that just writes info to the end of a log file 2. Create a web page containing the above form 3. Visit the web page using Mozilla 1.4a 4. Click download and look at the log file Actual Results: There is both a POST and a GET request recorded. Expected Results: Only the POST. Seen on Linux, but I think it is happening on Win 2000 also.
sounds like a redirect pattern to me... david: do you know of a site on the internet where this is reproducible? thx!
OK, I have set up a web page to demo the bug: http://dbowen.homelinux.net/elvis
using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507 i only get a POST in the log (comment #2) David Bowen, could you verify with a later build
testcase no longer present, did WFM - Reporter, if you see this problem in a recent build of Mozilla, feel free to return and reopen the bug. Marking INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.