Bug 70981 - "Malformed URL" error when clicking Open button on DCC Status tab.
Summary: "Malformed URL" error when clicking Open button on DCC Status tab.
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Abatianni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-21 19:05 UTC by Gary Cramblitt
Modified: 2003-12-25 22:51 UTC (History)
0 users

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


Attachments

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