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/"
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.
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!