Hi Joel,
Not sure why clean path is limited to non urls. Why not put in a request for
it to be modified, to [EMAIL PROTECTED] ?
In the mean time there is function to clean http paths on the Rebol Examples
page
http://www.rebol.com/examples.html
Clean HTTP-Path
"To remove /../ from within HTTP URLs.
Will remove parent directories for each /../ encountered,
but will not remove site information."
http://www.rebol.com/examples/cleanhttp.r
Cheers,
Allen K
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 1999 9:04 AM
Subject: [REBOL] clean-path when arg is url?
> Hmmm. When the argument to clean-path is a url, the result seems to
> be untouched. This is born out by
>
> >> source clean-path
> clean-path: func [
> {Cleans-up '.' and '..' in path; returns the cleaned path.}
> target [file! url!]
> /local item file path mark mark2 marks dots dot dotdot
> target-copy][
> if url? target [return target]
>
> ; and so on ... (snipped for space)
>
> Why can't clean-path handle .. and . in url data?
>
> -jn-
>
>