[Serusers] ser 2_0_0 lookup_user($tu.uid, @ruri) and handling of user names with unescaped semicolon.

Tomasz Zieleniewski tzieleniewski at gmail.com
Thu Oct 18 11:36:35 CEST 2007


Hi,

According to rfc 3261:

19.1.3 Example SIP and SIPS URI   sip:alice;day=tuesday at atlanta.com

   The last sample URI above has a user field value of
   "alice;day=tuesday".  The escaping rules defined above allow a
   semicolon to appear unescaped in this field.  For the purposes of
   this protocol, the field is opaque.  The structure of that value is
   only useful to the SIP element responsible for the resource.


in such case shouldn't the lookup_user($tu.uid, @ruri) method analyze only
the username part before semicolon
for the lookup??

Waiting for Your Feedback
Bests
Tomasz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20071018/a2ac5583/attachment.htm>


More information about the sr-users mailing list