From kde-core-devel Mon Nov 22 14:28:47 2004 From: David Faure Date: Mon, 22 Nov 2004 14:28:47 +0000 To: kde-core-devel Subject: Re: file:/// Message-Id: <200411221528.50529.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110113361710051 On Monday 22 November 2004 11:31, Stephan Kulow wrote: > Am Saturday 20 November 2004 12:35 schrieb Ingo Klöcker: > > > > "The file or folder > > > file:///opt/qt3/doc/html/qlistview.html#setShowToolTips does not > > > exist." > > > > So for file URLs where !url.ref().isEmpty() the URL must not be replaced > > by url.path(). Actually I never use url.path(), I used url.prettyURL( StripFileProtocol ), so that the result is still a properly escaped url, just without the file: part. This makes it possible for KURL ctor to do the right thing if given back that string. Well, that was the theory - this much works (proof committed to kurltest.cpp), but the shorturi filter kicks in first, and the bug was there. Fixed now. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).