Closed Bug 190891 Opened 22 years ago Closed 21 years ago

query string stripped from form action

Categories

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

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 185169

People

(Reporter: dot, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20030104 Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20030104 The page above contains a form with an action of the form action="cgi/go?www.google.com/search" The CGI just redirects to the URL in the query string. This works fine in Mozilla 1.0.1 and other browsers, but fails in more recent versions. The reason for this appears to be that the query string is stripped off the form action. The standards state that the query string from the form should be appended onto the action URL, without specifying any alteration of the action. Reproducible: Always Steps to Reproduce: 1. go to http://dotat.at/bookmarks.html 2. type something into the box 3. click search Actual Results: The URL passed to the server omits the ?www.google.com/search part, causing the CGI to redirect to the wrong place. Expected Results: Append the query string onto the unmodified action URL.
maybe dup of bug 185169.
It's clearly very closely related. I agree with Flemming Frandsen's comments of 2003-01-27.
I just tested this with Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040302 Firefox/0.8 , ELinks, and Konqueror 3.2.0. They all fail with an invalid URL or invalid host.
*** This bug has been marked as a duplicate of 185169 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.