Bug 241367

Summary: kio_cgi does not POST
Product: [Unmaintained] kio Reporter: Christopher Yeleighton <giecrilj>
Component: cgiAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christopher Yeleighton 2010-06-11 02:43:55 UTC
Version:           4.3 (using KDE 4.3.5) 
OS:                Linux

Parameters posted by Konqueror to a kio_cgi script do not arrive at the destination.

Reproducible: Always

Steps to Reproduce:
1. Create and execute the following CGI script named "param":
#!/usr/bin/perl -w
use strict; use warnings;
use CGI qw(-no_xhtml);
my $q = CGI -> new;
sub get_title () { return 'Param test'; } 
print 
$q -> header, 
$q -> start_html 
(-title => get_title (), 
-dtd => ['-//W3C//DTD HTML 4.01//EN',
'http://www.w3.org/TR/html4/strict.dtd'], 
-meta => { CREATOR => "CGI $CGI::VERSION; Perl $];" }), 
$q -> h1 (get_title ()), 
  $q -> start_form
(-method => 'POST', -encoding => 'multipart/form-data', -action => 'cgi:param'), 
$q -> p ($q -> textfield (-name => 'param'), $q -> submit), 
$q -> end_form,
$q -> end_html;

2. Enter "ABC" into the text field and press "Submit".

Actual Results:  
2. The same document, the text field is empty.

Expected Results:  
2. The same document, the text field preset to "ABC" 
(this is the behavior with METHOD=GET).
Comment 1 Julian Steinmann 2018-06-24 14:10:53 UTC
There is no longer a CGI slave included in KIO, so all bugs related to this slave are now obsolete. Thanks for reporting this bug!