Closed
Bug 55906
Opened 26 years ago
Closed 26 years ago
Form submission broken with forms from http://127.0.0.1/ ...
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: make, Assigned: pollmann)
References
Details
(Keywords: testcase, Whiteboard: [rtm need info])
Attachments
(5 files)
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (WinNT; U)
BuildID: 2000100820
Form submission is completly broken, if the web-server does not run
on the standard http port (80) and the forms action attribute is relative.
Reproducible: Always
Steps to Reproduce:
1. Load the attached testcase
2. Drop it on a server, that is serving a non-standard port.
3. Click on one of the buttons in the first row and repeat the
procedure with one of the buttons in the second row.
Actual Results: 4. The (form-) buttons in the first row will work well.
5. The buttons in the second row will not. The second form will never
be submitted.
Expected Results: Form submission must not dependent on the servers port. This
is
definitly a bug and definetly against all standards.
I've reported this earlier. I've tried convience the mozilla team
that this is indeed an important bug. All without success. So, I
think will be the same procedure this time - no time left, not
important enough....
Just think of all those CGI-anonymizer skripts running on
non-standard ports (of course!). Not with Mozilla.... Anyway,
at least IE behaves as Mozilla should behave. The Mozilla team
ran out of time. They had no real-world examples. Ha!
| Reporter | ||
Updated•26 years ago
|
| Reporter | ||
Comment 1•26 years ago
|
||
| Assignee | ||
Comment 2•26 years ago
|
||
Just as anecdotal evidence, I've been posting to nonstandard ports
(pollmann.net/data/httproxy) to debug form submission for over a year now with a
large degree of success, so I don't think that posting on non-standard ports is
broken in the general case, but more likely just for this specific case.
I'll look in to it...
| Assignee | ||
Comment 3•26 years ago
|
||
I just tried the above test case, modified slightly, and it worked fine for me.
Here's the setup I used:
Ran an http proxying script on port 6002.
http://pollmann.net/data/httproxy
Fetched the test case through the http proxy from a nonstandard port.
http://green.mcom.com:8002/green.mcom.com/forms/port.html
(will attach momentarily)
Changed the forms so they would submit to an echo'ing CGI that returns the value
of form inputs (echo.cgi, will attach momentarily).
Clicked on upper links (submitted to a nonstandard port)
Clicked on lower links (submitted a relative url that went to a nonstandard
port)
Everything worked.
Please provide more details on your setup. What proxying software are you
using, or what webserver are you running on a nonstandard port? (port 3128 -
squid?) If possible, please include source code for the jsp that is not working
(I'm not a jsp guru, so a simplified test case would be most useful).
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Comment 4•26 years ago
|
||
| Assignee | ||
Comment 5•26 years ago
|
||
| Assignee | ||
Comment 6•26 years ago
|
||
| Reporter | ||
Comment 7•26 years ago
|
||
Eric: Great, that you could afford some time for it !
I've also spent some time with this one and finally found
the missing piece. Hell, it is related to another bug,
I reported myself months ago (#46552).
The problem is, that I've used ip:port as server part of
the URL. I assume, that you have used dnsname:port, which
works fine. Try it it with ip:port and you will get the
effect I've described.
(My system setup, althought this really doesn't matter
BEA WLS 5.1 SP6, NT4 SP6a, 2x P2-400).
http://bugzilla.mozilla.org/show_bug.cgi?id=46552
(even for me :)
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
| Reporter | ||
Updated•26 years ago
|
Summary: Form submission broken if server runs not on port 80 → Form submission broken with forms from htttp://ip:port/...
Updated•26 years ago
|
Status: REOPENED → ASSIGNED
| Assignee | ||
Comment 8•26 years ago
|
||
Matthias, do you happen to be submitting to the localhost, 127.0.0.1? I did
some more testing and found that ip:port works fine, and ip (no port) works
fine, *except* 127.0.0.1:port and 127.0.0.1 (no port) don't work. I think I see
the problem with 127.0.0.1 and can come up with a quick fix...
Summary: Form submission broken with forms from htttp://ip:port/... → Form submission broken with forms from http://127.0.0.1/...
| Assignee | ||
Comment 9•26 years ago
|
||
| Assignee | ||
Comment 10•26 years ago
|
||
If the problem was only with host 127.0.0.1, this will be fixed by a checkin for
bug 54966, and we can close this out as a duplicate.
Depends on: 54966
| Reporter | ||
Comment 11•26 years ago
|
||
Great. I re-checked the problem and yes, it's restricted to 127.0.0.1:someport.
I assume that a fix should also close down #46552.
| Assignee | ||
Comment 12•26 years ago
|
||
Checked the fix into the trunk, will check into the branch tomorrow.
Comment 13•26 years ago
|
||
Since eric has done all my work for me on this bug i will reassign it to him to
close out.
Assignee: rods → pollmann
Status: ASSIGNED → NEW
Comment 14•26 years ago
|
||
Marking [rtm need info]. Needs review + superreview.
Whiteboard: [rtm need info]
| Assignee | ||
Comment 15•26 years ago
|
||
This fix already has rtm++ as bug 54966, so I'm marking it a duplicate to ease
PDT bandwidth. We will need to verify it separately though.
*** This bug has been marked as a duplicate of 54966 ***
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
Comment 16•26 years ago
|
||
Verified, this is a duplicate of bug 54966 "Form doesn't submit if action is a
file."
Status: RESOLVED → VERIFIED
| Assignee | ||
Comment 17•26 years ago
|
||
Just checked the fix into the branch.
Comment 18•24 years ago
|
||
*** Bug 46552 has been marked as a duplicate of this bug. ***
Updated•7 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•