Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: clean-path

From: g:santilli:tiscalinet:it at: 4-Dec-2000 13:02

Erin Thomas wrote:
> > What does clean-path do? I passed urls with .. and . in > > them to it, and they are unchanged. > > hey, you know what? it really doesn't seem to work.
It works on files only. ../ are significant in URLS sometimes, so CLEAN-PATH simply doesn't remove them. You could write your own function that is smart enough to detect those situations... Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/