[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KURL bug?
From: David Faure <david () mandrakesoft ! com>
Date: 2001-11-12 17:47:55
[Download RAW message or body]
On Lundi 12 Novembre 2001 18:30, Michael Goffioul wrote:
> Hi,
>
> in the sidebar code, in dirtree-module.cpp, there's this code to get
> the parent URL:
>
> KURL dir( firstItem->url() );
> dir.setFileName( "" );
>
> The problem occurs with an url containing a slash in its filename,
> even if it's encoded. For example, if firstItem->url().url() gives
>
> print:/specials/Print%20To%20File%20(PDF%2FAcrobat)
>
> then the parent URL have (dir.url()):
>
> print:/specials/Print%20To%20File%20(PDF
>
> which is obviously false, it should be "print:/specials"
Fixed ;)
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE 3.0: Konquering the Desktops
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic