[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: KURL problem
From: Michael Brade <brade () kde ! org>
Date: 2005-09-20 11:02:42
Message-ID: 200509201302.49213.brade () kde ! org
[Download RAW message or body]
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.
Thanks,
--
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