microid AT lists.ibiblio.org
Subject: Microid mailing list
List archive
- From: Peter Saint-Andre <stpeter AT jabber.org>
- To: microid AT lists.ibiblio.org
- Subject: Re: [Microid] Encode URLs?
- Date: Mon, 16 Apr 2007 19:23:45 -0600
David Koblas wrote:
If I'm reading this thread correctly it sounds like people are proposing to double encode URIs before having their checksums taken.
No no no. Never double-encode URIs.
Section 5 of the spec says:
hash = algo(algo(EntityURI) + algo(EntityURI))
It doesn't say:
hash = algo(algo(escaped(URI)) + ...)
But a URI must conform to RFC 3986.
Fundamentally, the URL: http://www.mediauk.com/discussions/profile.muk?mode=viewprofile&u=1 is encoded per RFC 3986
You're right -- "?", "=", and "&" are used here in their reserved meaning.
- section 3 - URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
as soon as you start double encoding a URL you're in deep doodoo.
Agreed. I was wrong.
/psa
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-
[Microid] Encode URLs?,
James Cridland, 04/15/2007
-
Re: [Microid] Encode URLs?,
Peter Saint-Andre, 04/16/2007
-
Message not available
-
Re: [Microid] Encode URLs?,
James Cridland, 04/16/2007
-
Re: [Microid] Encode URLs?,
Peter Saint-Andre, 04/16/2007
-
Re: [Microid] Encode URLs?,
Paco NATHAN, 04/16/2007
-
Re: [Microid] Encode URLs?,
David Koblas, 04/16/2007
- Re: [Microid] Encode URLs?, Peter Saint-Andre, 04/16/2007
-
Re: [Microid] Encode URLs?,
David Koblas, 04/16/2007
-
Re: [Microid] Encode URLs?,
Paco NATHAN, 04/16/2007
-
Re: [Microid] Encode URLs?,
Peter Saint-Andre, 04/16/2007
-
Re: [Microid] Encode URLs?,
James Cridland, 04/16/2007
-
Message not available
-
Re: [Microid] Encode URLs?,
Peter Saint-Andre, 04/16/2007
Archive powered by MHonArc 2.6.24.