[Webkit-unassigned] [Bug 23346] New: Wrong form submission
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 15 03:14:42 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=23346
Summary: Wrong form submission
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: oyevstaf at softservecom.com
CC: oyevstaf at softservecom.com
Sometimes wrong form will be submitted if we play with Back button prior to
sumbit.
Steps to reproduce:
1. Go to http://www.williams-sonoma.com, select a product from menu (for
example,
http://www.williams-sonoma.com/products/sku6463004/index.cfm?pkey=ccookware%2Dsets&ckey=cookware%2Dsets).
2. Click "Write a Review" link, enter a email address, click "CONTINUE", "Write
a Review" page displays.
3. Enter nickname, specify rating value and whether you recommend the product
to a friend, enter review headline and review text.
4. Click "PREVIEW", "Please Review Your Feedback" page displays.
5. Click browser's "Back" button twice, each time cancel re-submitting the form
as suggested by browser. Clicking once also may result in the error at step 6,
but clicking twice increases the probability.
6. Click "Edit". At this point wrong form is submitted sometimes. "Wrong" means
that actual HTTP parameters sent to server are:
sp = S0
$ImageURLSubmit$0 = Preview
Form0 =
$ValidHidden,$ValidHidden$0,sessionParams,inputRating,inputBuyAgain,inputDisplayName,inputTitle,inputReviewText,inputLocation,contextData,contextData$0,contextData$1,contextData$2,contextData$3,netPromoterScore,netPromoterComment,$ImageURLSubmit$0
service = direct/1/review-1031/$BazaarvoiceForm
$ImageURLSubmit$0.y = 12
$ImageURLSubmit$0.x = 12
returnURL =
http://www.williams-sonoma.com/products/sku6463004/index.cfm?pkey=ccookware%2Dsets&ckey=cookware%2Dsets
while expected (and actually rendered within the form) ones are:
sp = S0
$ImageURLSubmit$0 = Edit
Form0 = $ImageURLSubmit,$ImageURLSubmit$0,$ImageURLSubmit$1
service = direct/1/preview-1031/$BazaarvoiceForm
$ImageURLSubmit$0.y = 10
$ImageURLSubmit$0.x = 31
returnURL =
http://www.williams-sonoma.com/products/sku6463004/index.cfm?pkey=ccookware%2Dsets&ckey=cookware%2Dsets
Note the difference between actual and expected values of "$ImageURLSubmit$0"
and "Form0" parameters. In fact, it looks like the form we filled in at step 3
is (partially) submitted instead of the form we see displayed before step 6.
Note, the error may not happen for first time. In this case, repeat steps 3-6
more times (if there is no error at step 6, you will be brought back to step 3
by the application).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list