[OpenID] Canonical OpenID url form

Andrew Arnott andrewarnott at gmail.com
Tue Jul 8 22:01:27 UTC 2008


What is the canonical form of an OpenID URL? One with the %AB%CD hex
encoding for unicode chars in the URL or with the actual unicode chars? For
the purposes of displaying to the user and storing in the RP's database.

The spec doesn't seem to have anything to say on this.  The reason I think
it's not a simple automatic answer is the unicode chars may be what the user
typed in and what exists on the server, but in transit, these characters are
translated to %AB%CD in order to be validly escaped URI strings.  So one
could argue that the unicode characters are never part of the protocol and
therefore should not be in the Claimed Identifier.  On the other hand, if I
were japanese and had to look at %AB%CD instead of my native character
whenever I saw my OpenID on a web page I'd find it slightly annoying.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20080708/86f107df/attachment-0001.htm>


More information about the general mailing list