Re: Webdav and url-encoding



On Fri, 2004-02-13 at 00:19, Walter Landry wrote:
> Alexander Larsson <alexl redhat com> wrote:
> > On Sat, 2004-02-07 at 00:15, Walter Landry wrote:
> > > Greetings,
> > > 
> > > I am trying to get gnome-vfs to list a directory on a
> > > webdav-enabled server.  The url is 
> > > 
> > >   http://superbeast.ucsd.edu/~landry/ArX/{archive}
> > > 
> > > If I just use that as the url, it fails, giving me errors like
> > > 
> > >   PROPFIND:2: parser warning : xmlns:D: 'DAV:' is not a valid URI
> > >   <D:multistatus xmlns:D="DAV:">
> > >                                ^
> > >   PROPFIND:3: parser warning : xmlns:lp0: 'DAV:' is not a valid URI
> > >   <D:response xmlns:lp0="DAV:" xmlns:lp1="http://apache.org/dav/props/"; xmlns:i0="
> > >   ...
> > > 
> > > That is odd, but if I url-encode the brackets "{" and "}" by looking at
> > > 
> > >   http://superbeast.ucsd.edu/~landry/ArX/%7barchive%7d
> > 
> > Yeah. All uris you feed into gnome-vfs need to be escaped.
> 
> Do you have any idea why it gives me warnings?  Would that be a
> server-side issue, or a gnome-vfs issue?  Also, is there a way to turn
> off the warnings?

I'm don't know the dav stuff that well, but it looks like the warning is
from parsing the reply from the server. Or something.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a shy alcoholic househusband with no name. She's a pregnant red-headed 
pearl diver with a birthmark shaped like Liberty's torch. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]