Opened 18 years ago

Closed 18 years ago

#135 closed defect (fixed)

Invalid presence entity ID when URI is specified in name-addr format

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10.2
Component: pjsip Version: 0.5.10.1
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

In pjsua, when account ID is set to use name-addr format, it will cause the presence PIDF document to have "<" character in XML entity attribute, causing it to be rejected by server.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<presence entity="<sip:user@domain>">
 <tuple id="72e49cd62c4943108f05fa2666a95a96">
  <status>
   <basic>open</basic>
  </status>
 </tuple>
</presence>

Change History (1)

comment:1 Changed 18 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Invalid URI in presence PIDF document to Invalid presence entity ID when URI is specified in name-addr format

Fixed in r999.

Note: See TracTickets for help on using tickets.