< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

RE: [reSIProcate] NameAddr::parse() bug?


I don't mind making this change to resip, if everyone agrees.  : )

Should we allow spaces in the unquoted display name - or just stop
parsing at either LWS or < - as the RFC suggests?

Scott Godin

> -----Original Message-----
> From: Francesco Fondelli [mailto:francesco.fondelli@xxxxxxxxx]
> Sent: Tuesday, November 08, 2005 11:27 AM
> To: Scott Godin
> Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate] NameAddr::parse() bug?
> 
> Scott Godin wrote:
> 
> > The following NameAddr will produce a trailing space in the display
> > name:
> > DisplayName <sip:user@xxxxxxxx>
> >
> > In this case display name is "DisplayName " - is that correct?   Or
> > should it be "DisplayName"?
> 
> hemm I meant exactly the same thing in my prev example:
> 
> From: 0015556678 <sip:foo@xxxxxxxxxxxxx>;tag=as548e6f07
> 
> and as Scott Lawrence said and IMHO resip should behave like
sipXtackLib.
> 
> It might not be considered a bug but I'm going to strip that space
> out in my production environment.
> 
> Regards
> FF