Bug 55163 - konqueror warning for repeated POSTs
Summary: konqueror warning for repeated POSTs
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-25 16:51 UTC by jellicle
Modified: 2003-03-06 02:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jellicle 2003-02-25 16:51:34 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Konqueror warns if it thinks you are double-clicking on a POST form, like so:

"Warning - Konqueror
The page you are trying to view is the result of posted form data. If you resend the data, any action the form carried out (such as search or online purchase) will be repeated."

However, it gives this warning too aggressively.  If you merely POST to the same URL twice in a row, you get the warning.  Konqueror needs to check the value of the POSTed fields, and only give this warning if the form fields are the same.

Example: I have a form, which POSTs to (form action=...) http://www.site.com/dosomething.pl.  I submit that form, which provides me a resulting page with my results and with another HTML form, which also has a form action of http://www.site.com/dosomething.pl.  I change many settings on the HTML form, and hit submit...  I get the above konqueror warning, even though the form I am submitting is much different from the previous one I submitted, and this is an intentional action.

If konqueror checked for identical form field values between the two submitted forms, it could tell the difference between the above, legitimate POSTing twice to the same URL, and a situation where the user double-clicks a submit button or hits the submit button again due to impatience, or hits reload, or something like that.  This is a recently-introduced bug (wasn't in KDE 2.2, don't *think* it was in KDE 3.04).
Comment 1 Rex Dieter 2003-02-25 17:20:46 UTC
Though I'm using RedHat 7.3+KDE 3.1, I can offer a "me too", in that I see 
 "Warning - Konqueror  The page you are trying to view is the result of posted form data..." 
 occasionally when logged in and using sourceforge.net  
Comment 2 Dawit Alemayehu 2003-03-06 02:22:46 UTC
Hi, 
 
Fixed in CVS.  Will be backported after testing in the development branch. 
Thanks for the report. 
 
Regards, 
Dawit A.