From kfm-devel Fri Mar 22 02:53:39 2002 From: Hamish Rodda Date: Fri, 22 Mar 2002 02:53:39 +0000 To: kfm-devel Subject: Re: [PATCH] Webdav bug X-MARC-Message: https://marc.info/?l=kfm-devel&m=101676564726330 >> One question though, with a woring KURL called "url", shouldn't >> url.setPath(url.path(+1)) not interfere with the encoded/decoded statu= s? >> I'm finding that /~test/ becomes /%7Etest/ when output from >> encodedPathAndQuery(), but without it, it remains as /~test/...? > >I added KURL::adjustPath(...) for that, since David also needed it. > >I have committed the basic parts of your patch to CVS, making use of ths= new >adjustPath function. Waldo, Thanks for this. I have tested it and the bugs are fixed. I've noticed that a call to adjustPath() still causes the output of=20 encodedPathAndQuery() to switch from a decoded path to an encoded path (i= e=20 /~test/ to /%7Etest/). I don't know why. Now that I look at it again, the= =20 name encodedPathAndQuery suggests that the behaviour before calling=20 adjustPath() is the incorrect one. Sending encoded paths now in PROPFIND=20 requests doesn't seem to be running into problems however so it's not an=20 issue to me. Cheers, Hamish.