Re: url-encoding for http addresses
- From: Walter Landry <wlandry ucsd edu>
- To: gnome-vfs-list gnome org
- Subject: Re: url-encoding for http addresses
- Date: Fri, 10 Dec 2004 22:46:38 -0500 (EST)
Alexander Larsson <alexl redhat com> wrote:
> On Mon, 2004-12-06 at 20:38 -0500, Walter Landry wrote:
> > Hello,
> >
> > I just upgraded gnome-vfs2 on my Debian testing machine from 2.6.2 to
> > 2.8.3, and it seems that the default interpretation of http uri's has
> > changed. In 2.6, gnome-vfs2 breaks if you don't url-encode any http
> > uri's you give it. In 2.8, it breaks if you do.
> >
> > First of all, is this change documented anywhere? Second, is there a
> > simple way to check for versions so that I can write code that will
> > work with both the old and new conventions?
>
> Hmm. This sounds bad. You mean that passing in a string containing "%20"
> breaks, but one with a space in doesn't? That seems wrong, the gnome-vfs
> semantics should be that uris always have to be escaped.
$ gnomevfs-ls http://superbeast.ucsd.edu/~landry/ArX/wlandry/arx/2/1/,cache/
arx.2.1,59.tar.gz (Regular, application/x-tar) size 784886mode 0000
$ gnomevfs-ls http://superbeast.ucsd.edu/~landry/ArX/wlandry/arx/2/1/%2Ccache/
Segmentation fault
As far as I can tell from
http://anoncvs.gnome.gr.jp/viewcvs.cgi/gnome-vfs/programs/gnomevfs-ls.c?rev=1.4&view=markup
gnomevfs-ls doesn't escape anything.
Cheers,
Walter Landry
wlandry ucsd edu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]