Filesystem paths

Martin Pool mbp at sourcefrog.net
Fri Apr 28 03:48:10 BST 2006


On 28/04/2006, at 6:26 AM, John Arbash Meinel wrote:

> Jan Hudec wrote:
>> On Thu, Apr 27, 2006 at 15:11:27 -0500, Matthew D. Fuller wrote:
>>> On Thu, Apr 27, 2006 at 02:02:58PM -0500 I heard the voice of
>>> John Arbash Meinel, and lo! it spake thus:
>>>> I think the reason for escaping the : is that it could be
>>>> interpreted as a URL scheme.
>>> I'd think it's more likely that it would be [attempted to be]
>>> interpreted as a port.
>>
>> Yes, I now vaguely recall already hearing that. Though of course  
>> since the
>> 'c:' is in the first path component and not the host component  
>> (which is
>> empty -- there are *3* /es at the begining), it actually can't be.
>>
>
> I think we should support them. As in if we see a :, we don't  
> complain.
> But internally we should try and be consistent, and | seems to be  
> fairly
> common. (At least it is what urllib uses, which is good enough for  
> me).

I agree.

-- 
Martin







More information about the bazaar mailing list