encoding newlines in attribute values
Mark Wahl
Mark.Wahl at informed-control.com
Thu Apr 19 02:05:43 UTC 2007
Johnny Bufu wrote:
> The core spec doesn't allow newline characters ("\n") in any openid.*
> values. Currently, Attribute Exchange doesn't specify a way to encode
> newlines in attribute values.
>
> At a minimum, we could specify a way to escape just the \n character.
> Other option would be to do something more generic, e.g. URL-encoding
> the values.
It would be nice if there was a mechanism defined that could
transfer binary-valued (non-string) attribute values, such as avatar
'icon' images, as OpenID AX attribute values. This is currently
forbidden by section 3 of AX protocol, IIRC. I suggest that if such a
binary transfer mechanism were defined, then it could be leveraged
for transferring strings which contain illegal string value characters,
such as newline.
Mark Wahl
Informed Control Inc.
More information about the specs
mailing list