Hi, Am Freitag, den 10.12.2004, 22:59 -0500 schrieb Walter Landry: > Danny Milosavljevic <danny milo gmx net> wrote: > > Hi, > > > > Am Dienstag, den 07.12.2004, 22:48 -0500 schrieb Walter Landry: > > > Peter Harvey <pah06 uow edu au> wrote: > > > > Hate to jump in here, but where are you getting unescaped http uris from > > > > in the first place? > > > > > > 1) From the user. > > > > I'd like to hear where he got that invalid http uri from. Its not like > > it would have worked anywhere. > > It works fine in Mozilla. I would expect it to work on any browser. > > And even if you want the user to be able to enter unescaped stuff > > [normal stuff from the user's point of view], then escape it before > > storing it in program memory, and store the result into a separate > > variable to be able to show the user the original string without having > > to unescape it again all the time. > > > > Although uris are an implementation detail, the user got used to them. > > This is definitely false. Before this thread, if you put a gun to my > head, I still couldn't have told you that a space is %20. Ok, then I was wrong, webdesign-damaged mind I am. I stand corrected. (I think we can skip the part with the gun :)) > > [...] > > > 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). > > > > Yeah. And that works only if 'path to stuff' has already been escaped. > > Actually, it works either way for local file systems. For http uri's > it only works if it is unescaped. that indeed sounds like its implemented wrong. (I continue on the other post with the segfault...) > > In any case, I don't really care how you do it, as long as you are > consistent. I prefer giving unescaped sequences to gnome-vfs, but if > you decide to require escaped sequences, please make sure that you > really require them ;) yeah :) cheers, Danny -- www.keyserver.net key id A334AEA6
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil