Summary: | POST queries twice with <body onunload="something_with_XMLHttpRequest();"> | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Bastiaan Welmers <haasje> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | kde |
Priority: | NOR | ||
Version: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Bastiaan Welmers
2007-12-12 11:55:06 UTC
The title of this bug is wrong: it states "onload", it should be "onunload", so it's about the onunload event triggered when exiting the html page. The following example will trigger the bug: http://www.welmers.net/~bastiaan/konqueror_xmlhttprequest_bug.html It should be installed on your own web server (so you can see the server logs, or use a traffic sniffer) with the following files: http://www.welmers.net/~bastiaan/XmlHttpRequest.js http://www.welmers.net/~bastiaan/XmlHttpRequest.txt Confirmed using konqueror svn trunk 831729 Are you sure the query is send twice? KIO has a feature where it loads the first few bytes of a request to detect the mime-type using MAGIC, and then it issues a new request to load the rest. I am not sure if this is done for POST, but it is done for GET and could be what you are seeing. Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding. |