Bug 241226 - The CGI IO slave does not work
Summary: The CGI IO slave does not work
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-09 20:25 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-09 20:25:41 UTC
Version:           4.3 (using KDE 4.3.5) 
OS:                Linux

The CGI IO slave does not provide content.

Reproducible: Always

Steps to Reproduce:
mkdir -p "$HOME/.kde4/cgi-bin"
cat <<'#EOF' >"$HOME/.kde4/cgi-bin/first.pl"
#!/usr/bin/perl -w
use strict; use warnings;
print 'Content-Type: text/plain

Hello from CGI';
#EOF
chmod +x "$HOME/.kde4/cgi-bin/first.pl"
desktop-launch 'cgi:first.pl'

Actual Results:  
desktop-launch launches kwrite that complains that it is unable to read the file.
"$HOME/.xsession-errors" has a line
> kdeinit4: preparing to launch /usr/lib64/kde4/kio_cgi.so
but except for that nothing happens.

Expected Results:  
A Konqueror window should open and display the text 'Hello from CGI'.

"$(kde4-config --path cgi)" == "$HOME/.kde4/cgi-bin/"
Comment 1 Christopher Yeleighton 2010-11-12 17:44:56 UTC
On the other hand, if you create an empty folder in your Documents folder and then execute the command

kioclient exec cgi:empty

something outrageous happens.

You get a notification that cgi:empty is being downloaded, with a progress bar that shows no progress.  The process kio_cgi gets spawned and spends 45% CPU doing nothing.

To terminate that process, cancel the task in the notification window.
Comment 2 Julian Steinmann 2018-06-24 14:10:41 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!