Bug 70981

Summary: "Malformed URL" error when clicking Open button on DCC Status tab.
Product: [Applications] konversation Reporter: Gary Cramblitt <garycramblitt>
Component: generalAssignee: Dario Abatianni <eisfuchs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gary Cramblitt 2003-12-21 19:05:02 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

When DCC folder is blank in Konvi settings, and a file is received via DCC, clicking the Open button on DCC Status tab reports, for example, "Malformed URL. ./ae015.jpg".  When a DCC folder is specified in settings, received file opens correctly.
Comment 1 Gary Cramblitt 2003-12-22 02:40:42 UTC
Suggested fix in dccpanel.cpp.  In function DccPanel::runDcc(), change line

  new KRun(item->GetFullPath());

to

    {
      KURL kurl;
      QDir dir;
      kurl.setPath(dir.cleanDirPath(dir.absFilePath(item->getFullPath(), TRUE)));
      new KRun(kurl);
    }
Comment 2 Gary Cramblitt 2003-12-25 22:51:13 UTC
Committed to CVS by Dario.