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 08:32:53 +0100
To: Trevor Perrin <trevp@trevp.net>
Cc: Simon Josefsson <jas@extundo.com>, "Roy T. Fielding" <fielding@apache.org>, uri@w3.org
Message-ID: <20030430073253.GB32058@finch-staff-1.thus.net>

Trevor Perrin said:
>> meta:sha1=oHn3H7i+rYwEnZulnHb09KO/6Ro=:http://josefsson.org/key.txt

> I like that too.  I'd put the <URI> first, for readability.  Then it 
> doesn't look too different from my suggestion.

The problem with your approach:

> http-://josefsson.org/key.txt:sha1=oHn3H7i+rYwEnZulnHb09KO/6Ro=

is that colons already appear in URIs. See, for example:

  http://www.davros.org/temp/transfer:sha1=2309r+4erqcqc=xx.gif

(ignore the content; it's just an image someone sent me). The "meta"
approach has the advantage of being syntactically unambiguous, but only if
you leave the metadata at the start or provide a better way of ending the
URI section (for example, requiring colons to be escaped).

-- 
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 03:33:09 GMT

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