Bug 241367 - kio_cgi does not POST
Summary: kio_cgi does not POST
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Unmaintained
Component: cgi (other bugs)
Version First Reported In: 4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Cornelius Schumacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 02:43 UTC by Christopher Yeleighton
Modified: 2018-06-24 14:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!