wbauer added a comment.
In D13782#297639 <https://phabricator.kde.org/D13782#297639>, @wbauer wrote: > Using QDir::canonicalPath() (instead of QDir::cleanPath() ) would fix all 3 cases: > > const QString fullFilePath = QDir(path + QLatin1Char('/') + filename).canonicalPath(); > Or rather, as the current directory is set to `path` in line#507, this would actually suffice: const QString fullFilePath = QDir(filename).canonicalPath(); REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D13782 To: broulik, dfaure, yurikoles, bruns Cc: ngraham, oysteins, wbauer, kde-frameworks-devel, michaelh, bruns