Re: secure URIs

Trevor Perrin said:
> If the appended data doesn't use colons (or requires them to be escaped), 
> and the use of "meta" requires that there be an appended data section, is 
> it then okay to just do:
> 
> meta:http://somesite.com:<Appended_Data_Without_Colons>

Yes, though parsing is a little slower (you need to do it right-to-left).

You could relax the "must be an appended data section" rule by allowing it
to be empty so long as the colon is there. Hence:

    meta:http://somesite.com/url-with:in-it:appended-data
    meta:http://somesite.com/url-with:in-it:appended-data-with%3Acolon
    meta:http://somesite.com/url-with:in-it-but-no-data:

It's a little less tidy because you need a different delimiter to separate
data items, but it would work.

-- 
Clive D.W. Feather  | Work:  <clive@demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive@davros.org>  | *** NOTE CHANGE ***
Demon Internet      | WWW: http://www.davros.org | Fax:    +44 870 051 9937
Thus plc            |                            | Mobile: +44 7973 377646

Received on Wednesday, 30 April 2003 04:03:49 UTC