From kfm-devel Thu Jun 29 20:48:03 2000 From: owner () bugs ! kde ! org (Stephan Kulow) Date: Thu, 29 Jun 2000 20:48:03 +0000 To: kfm-devel Subject: Bug#5669: marked as done (Some POST data not getting through to CGI apps) X-MARC-Message: https://marc.info/?l=kfm-devel&m=96231208616194 Your message dated Thu, 29 Jun 2000 22:44:32 +0200 with message-id <20000629224432.B26787@rotes20.wohnheim.uni-kl.de> and subject line post data problems has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I'm talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Stephan Kulow (administrator, KDE bugs database) Received: (at submit) by bugs.kde.org; 27 Jun 2000 15:16:54 +0000 From tim@localhost.localdomain.int.zynet.net Tue Jun 27 17:16:53 2000 Received: from comet.zynet.net ([194.154.160.2]:9484 "EHLO comet.zynet.net") by master.kde.org with ESMTP id ; Tue, 27 Jun 2000 17:16:38 +0200 Received: from host16.int.zynet.net (mail.int.zynet.net [194.154.167.16]) by comet.zynet.net (8.9.3/8.9.3) with ESMTP id QAA30229 for ; Tue, 27 Jun 2000 16:16:26 +0100 Received: from localhost.localdomain (host2.int.zynet.net [194.154.167.2]) by host16.int.zynet.net (8.9.3/8.8.7) with ESMTP id QAA21882 for ; Tue, 27 Jun 2000 16:24:06 +0100 Received: (from tim@localhost) by localhost.localdomain (8.10.1/8.8.7) id e5RFGPP04672; Tue, 27 Jun 2000 16:16:25 +0100 Date: Tue, 27 Jun 2000 16:16:25 +0100 Message-Id: <200006271516.e5RFGPP04672@localhost.localdomain> From: Tim Smith To: submit@bugs.kde.org Subject: Some POST data not getting through to CGI apps Return-Path: X-Orcpt: rfc822;submit@bugs.kde.org Package: khtml Version: 3.0 (KDE 1.91 Beta >= 20000624) Severity: normal Some CGI parsing programs cannot see the POST data that konqueror supplies, the reason being that the Content-Type header is supplying a boundary as if for multipart MIME, but the boundary never appears in the body. Some CGI parsers, like CGI.pm (the most common PERL one) don't care, but CGI::Request appears to. I have put up a couple of example CGIs as http://www.zynet.net/cgi-bin/testpost http://www.zynet.net/cgi-bin/testpostauth (username test, password test) Both use CGI::Request and dump the CGI query back as a web page so you can construct a local HTML file with some POST forms and see what happens. Netscape works with both of these as it doesn't supply a boundary on the Content-Type header. I've looked around in kdelibs/khtml/khtml_part.cpp around line 1799, but didn't want to mess around too much :-/