[BUG] String asURL fails

Richard A. O'Keefe ok at cs.otago.ac.nz
Thu Mar 7 20:05:56 UTC 2002


		fromMacFileName: - uses $: for the delimiter
		fromDosFileName: - uses $\ for the delimiter
		fromUnixFileName: - uses $/ for the delimiter
		...etc...
	
DOS "system calls" have always allowed BOTH \ AND / as delimiters.
AFAIK this is still true in Windows.
Methods that _construct_ DOS/Win file names should use \,
but methods that _parse_ DOS/Win file names should accept both \ and / .
(Then there's VMS, where file names could look like
 DSK:[foo.bar]ugh.ext;2 or DSK:<foo.bar>ugh.ext.2
 but that's another story.  I don't know if OpenVMS still accepts the
 older form.)




More information about the Squeak-dev mailing list