KURL problem
Michael Brade
brade at kde.org
Mon Sep 26 21:14:32 BST 2005
On Tuesday 20 September 2005 13:02, Michael Brade wrote:
> Hi,
>
> when entering invalid urls like f:a// in KFileDialog KDirListerCache
> crashes. Reason is the double slash (or triple slash): KURL::adjustPath(-1)
> removes the last one but is called in KDirListerCache::slotResult() again,
> removing the second last one and thus producing a url not known to
> KDirListerCache. We call KURL::cleanPath() in listDir() to supposedly kill
> consecutive slashes but that doesn't seem to work in this case.
>
> What do you suggest? Can we please fix KURL? If adjustPath() removes *one*
> slash, then cleanPath() should get rid of all of them but one. Or neither
> of them should change the url.
Hm, what's up? I've been in Italy with adsl that I didn't get to work under
Linux so I couldn't go on with this. Please tell me if it's possible to fix
this, I don't know KURL well enough yet.
Cheers,
--
Michael Brade; KDE Developer, Student of Computer Science
|-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
°--web: http://www.kde.org/people/michaelb.html
KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050926/9b5abf74/attachment.sig>
More information about the kde-core-devel
mailing list