Closed Bug 442727 Opened 17 years ago Closed 17 years ago

POSTing forms without an action repeats GET parameters

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: sam, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 If a form lacks an action then the default action in Firefox 3 includes any GET parameters in the URL. Firefox 2 (and all other browsers I've used) omit the parameters in the default POST action. Reproducible: Always Steps to Reproduce: 1.Go to a page with GET params containing a form without an explicit action. 2.POST that form. Actual Results: The GET params are included in the URL posted to. Expected Results: The GET params should not be included, to match FF2 (and all other browsers). I'm going to whip up a test case and put the URL here in a few minutes.
Including the GET parameters of the current page is correct if the URL is absent or completely empty, AFAIK. See RFC 1808 section 4.1, step 2 a). And Firefox 2 should behave the same way, if I remember correctly.
I forgot to include the link: http://rfc.net/rfc1808.html#s4.
My mistake. I should have waited to build a test page. This behavior isn't actually new.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.