Closed
Bug 129196
Opened 23 years ago
Closed 23 years ago
form submission occurs repeatedly when only one click
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: bjt23, Assigned: alexsavulov)
References
()
Details
(Whiteboard: DUPEME)
when trying to pay my bill online at americanexpress.com, after clicking the
"pay bill" button, a dialog message came up saying "The page you are trying to
view contains POSTDATA. If you resend the data, any action the form carried out
(such as a search or online purchase) will be repeated. To resend the data,
click OK. Otherwise, click Cancel." this is after clicking the submit button
*once*. the browser window blanks, then i get this message. if i hit cancel,
the browser stops processing - the new URL is in the location bar, but no page.
this also occurs on slashdot.org when setting user preferences or trying to make
a post. i tried clicking "OK" here, and i got the box again. clicked "OK"
again, and the page that loaded was a slashdot page saying that you're only
allowed to post once every two minutes. so obviously clicking OK is indeed
sending the post data.
i don't have problems with netscape 4.x or opera 5.
Updated•23 years ago
|
Whiteboard: DUPEME
Assignee | ||
Comment 1•23 years ago
|
||
yeah this is a dup of... bug 76605
(java script causes double submission)
*** This bug has been marked as a duplicate of 76605 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•23 years ago
|
||
tho i might be wrong, i cannot find any form-related javascript on the
slashdot.org post submission pages. i tried to check the americanexpress.com
bill pay page, but i just paid within the last three days, and it for some
reason makes you wait that long before you pay online again. but still- i am
not clear that this is a javascript related bug.
also, bug 76605 reports that the problem only occurs when the user presses enter
to submit the form, and not when clicking. in my case the problem occurs _both_
when using the enter key or when clicking. i tried the url mentioned in bug
76605, and that did exhibit the "enter only" behaviour expected. i am not quite
convinced that this is the same bug...
Comment 3•23 years ago
|
||
I'm fairly certain this is a duplicate and I'm almost 100% certain it will be
fixed with bug 72906's patch. If you are interested, you can check if the
JavaScript in the onSubmit or onClick handler for the form or button calls
form.submit(). If it is, the dup is correct.
Reporter | ||
Comment 4•23 years ago
|
||
> If you are interested, you can check if the JavaScript
> in the onSubmit or onClick handler for the form or
> button calls form.submit().
nope, it doesn't. the form _doesn't have_ an onsubmit or onclick statement in
the form tag, and there are no handlers. i guess it's worth the wait to see if
the patch you mentioned fixes the problem tho...
Comment 5•23 years ago
|
||
Would you mind posting the source of the page in this bug for me? This problem
really will be fixed but I would not mind having a testcase where this happens.
I don't have an American Express card, unfortunately for me :) So I can't test
it directly.
Reporter | ||
Comment 6•23 years ago
|
||
i copied the source for the submission page on slashdot (which exhibits this
behaviour) into a .txt file and uploaded to my webserver:
http://kelnos.dynodns.net/testing/slashdot_submit_form.html.txt
in theory that should just display the source text and not render the page...
Comment 7•23 years ago
|
||
Does Slashdot do this too? What page?
Reporter | ||
Comment 8•23 years ago
|
||
slashdot does it when submitting a reply to one of the comment threads, or when
changing any user account preferences. the page source i posted was for a
comment reply submission page.
Comment 9•23 years ago
|
||
Tell you what, just in case, let's leave this open and set dependent. We'll see
if the landing fixes it.
Comment 10•23 years ago
|
||
Could y'all check with tomorrow's build (Jan. 13)? This should be fixed, oh
thank heaven.
Comment 11•23 years ago
|
||
bjt23@cornell.edu, Once you check, please comment and resolve if it is fixed...
Reporter | ||
Comment 12•23 years ago
|
||
hey, sorry i've taken so long; been busy the past few days. anyway, the problem
is still here on build 2002031521 for linux. and in cvs of the morning after
you said the patch was landed...
Comment 13•23 years ago
|
||
This sounds similar to bug 116217.
Assignee | ||
Comment 14•23 years ago
|
||
Brian:
Do you use any kind of specific character coding?
check the value of the following setting:
View/Character Coding/Auto Detect>
If is set to some value other than (Off) then this is a dup of 116217.
Comment 15•23 years ago
|
||
marking duplicate
*** This bug has been marked as a duplicate of 61363 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
Updated•6 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
•