Re: url-encoding for http addresses



Peter Harvey <pah06 uow edu au> wrote:
> On Tue, 2004-12-07 at 21:47 -0500, Walter Landry wrote:
> > But then you have to have special code in your application to escape
> > only http uri's.  You might as well let gnome-vfs do it for itself.
> 
> Hate to jump in here, but where are you getting unescaped http uris from
> in the first place?

1) From the user.

2) I have a certain structure in the filesystem, and that structure is
   the same whether it is local or remote.  So for local stuff I
   prepend file://(path to stuff) and for remote stuff I prepend
   http://www.example.org/(path to stuff).

Not having to give much thought to whether a file is local or remote
is one of the great advantages of something like gnome-vfs.

Cheers,
Walter Landry
wlandry ucsd edu



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