Jan. 28, 2001
9:37 a.m.
guido wrote:
Revision 1.33 clearly leaves initial slashes untouched. I guess we should restore this...
Yes, please! (Just the "leading extra slashes stay" behavior.)
just looked this up in the specs, and POSIX seem to require that leading slashes are preserved only if there are exactly two of them: A pathname that begins with two successive slashes may be interpreted in an implementation-dependent manner, although more than two leading slashes are treated as a single slash. (from susv2) maybe we should add a if len(slashes) > 2: slashes = "/" test to the patch? Cheers /F