[plt-scheme] Teeny little net/url bug [and 1 more messages]

From: Synx (plt at synx.us.to)
Date: Thu Oct 1 19:10:39 EDT 2009

Eli Barzilay wrote:
> The problem with making colons be decoded too is shown in this test
> that fails:
> 
>   (url->string (path->url (bytes->path #"c:\\a\\b" 'windows)))
> 
> does not return
> 
>   "file:///c:/a/b"

And thankfully certain organizations haven't been able to establish
"file:///c:\\a\\b" as a valid URL either. I'm pretty sure
"file://c%3A/a/b/" is a working encoding for including Microsoft drive
letter names in a file URL. http://www.cs.tut.fi/~jkorpela/fileurl.html
also says that "file://C|/a/b/" can be used for c:\a\b\.


Posted on the users mailing list.