Re: [racket-dev] Potential bug in path->url

2012-11-06 Thread Jay McCarthy
I looked at your patch and it looks good overall. Could you add a test case or two to collects/tests/url.rkt (around line 184) and verify that the other test cases continue to pass? Jay On Tue, Nov 6, 2012 at 3:43 PM, Philippe Mechaï wrote: > Hi, > > I think there is a bug in the path->url funct

[racket-dev] Potential bug in path->url

2012-11-06 Thread Philippe Mechaï
Hi, I think there is a bug in the path->url function (from net/url). > (url->string (path->url "/tmp")) "file:///tmp" > (url->string (path->url "/tmp/")) "file:///tmp" As you can see the resulting URL is the same even if the path is a directory path. I believe that in the second case the URL sho