[dev-monkey] Newlines in bio attribute

Dick Hardt dick at sxip.com
Wed Apr 11 15:30:20 UTC 2007


use a common escape sequence ... may need to define one for AX  
anyways ...

On 10-Apr-07, at 2:07 PM, Rowan Kerr wrote:

> The OP doesn't like newlines in attribute values. Which isn't that  
> surprising because handling of newlines isn't even described in the  
> OpenID AX spec yet.
>
> But, if we want to allow people to submit a bio to the profile  
> site, we'll have to deal with them.
>
> One possible solution:
> Have Sxipper client and the Profile site define a common way of  
> escaping newlines in attribute values.
> - Sxipper would replace newlines with a token before sending  
> message to OP.
> - Profile site would replace tokens with newlines before saving to  
> database.
>
> Thoughts?
>
> -Rowan
>
>




More information about the specs mailing list