W3C home > Mailing lists > Public > uri@w3.org > April 2003

Re: secure URIs

From: Clive D.W. Feather <clive@demon.net>
Date: Wed, 30 Apr 2003 09:03:45 +0100
To: Trevor Perrin <trevp@trevp.net>
Cc: uri@w3.org
Message-ID: <20030430080345.GE32058@finch-staff-1.thus.net>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:31 GMT