[Kget] [Bug 267734] New: CGI I/O slave not supported

Christopher Yeleighton giecrilj at stegny.2a.pl
Sat Mar 5 18:49:33 CET 2011


https://bugs.kde.org/show_bug.cgi?id=267734

           Summary: CGI I/O slave not supported
           Product: kget
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kget at kde.org
        ReportedBy: giecrilj at stegny.2a.pl


Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Whenever I follow a hyperlink to a local CGI script generating plain text,
Konqueror offers to download the text, offsets the download job to KGet and
KGet fails.  This functionality is governed by embedding preferences for plain
text documents.

Reproducible: Didn't try

Steps to Reproduce:
  1. Set up script to print text in your CGI directory:
{ cat >hello <<'^Z' && chmod +x hello && 
#!/bin/sh
echo 'Content-Type: text/plain

Hello, World!'
^Z
cat >hello.html <<'</HTML>' && xdg-open hello.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" >
<HTML LANG=en ><TITLE >Reference page </TITLE >
<P ><A HREF="cgi:/hello" >Hello</A >
</HTML>
}

  2. Tell Konqueror to follow the link to Hello.
  3. Tell Konqueror to save the referenced resource.
  4. Examine the X session error log.

Actual Results:  
  1. Konqueror displays the "Reference page" with a link to Hello.
  2. Konqueror offers to save the referenced resource.
  3. Nothing happens.
  4. NewTransferDialogHandler::slotMostLocalUrlResult: 
       An error happened for KUrl("cgi:/hello")

Expected Results:  
  2. Preferably, Konqueror should display the resource using KatePart.  
     (This is configurable, although not the default).
  4. KGet should be able to retrieve and save the resource generated by CGI.

OS: Linux (x86_64) release 2.6.34.7-0.7-desktop
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kget mailing list