"Using Saved Location: foo"

Robey Pointer robey at lag.net
Fri Apr 28 02:45:57 BST 2006


On 27 Apr 2006, at 13:11, John Arbash Meinel wrote:

> Jan Hudec wrote:
>>
>> I think we could just treat them all the same. Except for local  
>> paths (where
>> everything is decoded) these would never be encoded when URL is  
>> received and
>> never decoded when it is printed.
>>
>> Also this list does not include the #, that is forbidden in URL  
>> and is used
>> to separate the fragment in URL-reference. We need to treat that  
>> as reserved
>> as well.
>>
>> I wonder what '$' is used for (it's reserved in query string, but  
>> the RFC
>> does not give any rules for that), but let's be consistent with  
>> the spec.
>>
>
> Well, it does happen the bzrlib will encode some of those characters.
> For example if your file has a ',' in it, it will be escaped.
> But I do think it is good to try and display safe urls (ones that you
> can then paste into a browser). So I'm okay with leaving them escaped.

Why not just leave everything encoded *except* UTF-8?  (ie, only  
decode %80-%FF)  Or am I overthinking?

robey





More information about the bazaar mailing list