[REBOL] Re: [library][request-dir] bug?
From: atruter:labyrinth:au at: 24-May-2004 9:24
> The second line removes the slash, for reasons unknown.
Agreed. Commenting this line out fixes the issue. I thought it might be a
cut & paste
error (from request-file) but no. Perhaps it is needed to
address behavioural differences under other ports (Linux)?
> It is better to keep the final slash for a directory, in my opinion.
Under Windows at least, agreed.
> In which case, we'd want to make sure that the slash is *always* there,
> correct? Anyone care to cast their votes about how this should behave?
As per above, I'd find out what problem was being addressed by this code
before we ask RT to "fix" anything (although an obvious fix would be to
have 'what-dir 'dirize its result).