2007/6/28, Jan Van den bosch <[EMAIL PROTECTED]>: > I've attached an Ethereal capture. In it, my NUA client invites > sip:[EMAIL PROTECTED] The invitee answers with a 200 > OK and this Contact header: > > <sip:[EMAIL > PROTECTED]:5060;group=adhoc_5158001;pctr=sip%21controlling%40172.16.58.75%215060;session=adhoc> > > When the client ACK's or BYE's however, it unescapes the pctr > parameter in the request URI: > > sip:[EMAIL PROTECTED]:5060;group=adhoc_5158001;[EMAIL PROTECTED];session=adhoc > > As a result, the B party responds to this with a 400 Unparsable Request-URI. > > Why is the pctr parameter being unescaped?
All the unreserved chars in URIs are unescaped. The reasoning is to make it more straightforward to compare the URIs. Perhaps it would be more appropriate to leave everything but scheme, host and port unescaped. >Can I turn this off? Only by modifying the source code, see url_d() in url/url.c. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel