Skip to Content.
Sympa Menu

microid - Re: [Microid] Encode URLs?

microid AT lists.ibiblio.org

Subject: Microid mailing list

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page