[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KURL problem
From:       Michael Brade <brade () kde ! org>
Date:       2005-09-26 20:14:32
Message-ID: 200509262214.35391.brade () kde ! org
[Download RAW message or body]


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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic