On 2013-03-28, at 14:44, Tudor Girba <[email protected]> wrote:

> Hi,
> 
> I am trying to get to a FileUrl via the polymorphic asUrl call, but it
> seems I am doing something wrong.
> 
> I do:
> 'file:d:\' asUrl
> 
> but the problem seems that $: and $\ are mangled, because when I print, I
> get:
> file:///d%3A%5C
> 
> Furthermore:
> 'file:d:\' asUrl asFileReference exists ==> false
> 
> but, at the same time:
> 'd:\' asFileReference exists ==> true
> 
> Can anyone tell me where is the mistake?
> 
> Btw, the reason I am looking for this is that I would like to use the
> ZeroConf support to load a configuration from a directory Monticello
> repository and to do that I have to pass a url to the command line.


I guess that will work out of the box under linux.
I think the URL parsing with the directory letter under windows is broken.
And I bet there is no test catching that either.

Did you try the following?
'file://d:/' asUrl
'file:d:/' asUrl

Reply via email to