[OpenSER-Devel] issue with received in REGISTER reply

Klaus Darilion klaus.mailinglists at pernau.at
Tue Dec 18 08:24:55 UTC 2007


The parameters (except transport) could be stripped from "received"

regards
klaus

Dan Pascu schrieb:
> The reply for a REGISTER will include a received param to the contact 
> header which is included in double quotes. However it doesn't escape the 
> content before doing so which results in a bad param string if the 
> received param already contains quotes.
> 
> Consider this simple example:
> 
> received = sip:1.2.3.4:5060;p1="AbQ"
> 
> The contact will look like:
> 
> Contact: 
> <sip:10.0.0.1:5060>;q=1;expires=600;received="sip:1.2.3.4:5060;p1="AbQ""
> 
> which is invalid.
> 



More information about the Devel mailing list