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

List:       kfm-devel
Subject:    Re: [PATCH] Webdav bug
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-03-21 21:15:17
[Download RAW message or body]

On Thursday 21 March 2002 06:02 am, Hamish Rodda wrote:
> The attached patch solves two bugs. One caused a recursive redirect on some
> web servers, and the other is the disabling of webdav capability checking
> because it is not up to scratch. Please review and apply if possible (I'm
> away this weekend), hopefully in time for 3.0.
>
> One question though, with a woring KURL called "url", shouldn't
> url.setPath(url.path(+1)) not interfere with the encoded/decoded status?
> I'm finding that /~test/ becomes /%7Etest/ when output from
> encodedPathAndQuery(), but without it, it remains as /~test/...?

path() and setPath() return/take decoded paths. If you don't want that you 
should use encodedPathAndQuery() / setEncodedPath().

For some reason there is no encodedPath() (without query), do you need that?

Cheers,
Waldo
-- 
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com

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

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