On Tue, Apr 27, 2010 at 2:48 PM, Ryan Davis <ryand-ruby / zenspider.com> wrote:
>
> On Apr 26, 2010, at 21:22 , Brian Ford wrote:
>
>> Issue #3185 has been updated by Brian Ford.
>>
>>
>> Could we please get clarification on when it is required and on what platforms? Just allowing an unlimited number of forward slashes seems unreasonable.
>
> Seems reasonable to me and allows for things like this to be clean and easy:
>
>>> URI.parse "file:" + File.expand_path('//path/to/../file.txt')
> => #<URI::Generic:0x100620d08 URL:file://path/file.txt>

That's two, not an arbitrary number.

URI.parse "file:/" + File.expand_path('/path/to/../file.txt') is no less simple.