POSTing forms without an action repeats GET parameters

VERIFIED INVALID

Status

()

--
major
VERIFIED INVALID
11 years ago
11 years ago

People

(Reporter: sam, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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.

Comment 1

11 years ago
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.

Comment 2

11 years ago
I forgot to include the link: http://rfc.net/rfc1808.html#s4.
(Reporter)

Comment 3

11 years ago
My mistake.  I should have waited to build a test page.  This behavior isn't actually new.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → INVALID

Updated

11 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.