[REBOL] Re: clean-path
From: gchiu:compkarori at: 4-Dec-2000 19:32
On Mon, 4 Dec 2000 14:49:07 +1100
"Anton" <[arolls--bigpond--net--au]> wrote:
> 'clean-path claims that it accepts urls, so I guess the
> feature was forgotten to be implemented.
> You should report it to feedback, I reckon.
Hi Anton,
You're right. This is from the source
>> 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]
So, if the parameter is a url, it just returns it unchanged.
Guess it was just forgot about.
I just noticed this while trying to figure out why Bo's
webcrawler.r doesn't work.
I'll send it to the feedback bot.
--
Graham Chiu