Ticket #1985 (closed defect: fixed)

Opened 7 weeks ago

Last modified 7 weeks ago

Escape '@' in the Replaces parameter of REFER request

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.6
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

In the example of the RFC 3515:

Refer-To: <sip:dave@denver.example.org?Replaces=12345%40192.168.118.3%3B
          to-tag%3D12345%3Bfrom-tag%3D5FFE-3994>

The character @ in the Replaces parameter of Refer-To header in a Refer request is escaped, so we also wish to do the same in order to avoid interoperability issues (it's reported that some servers reject unescaped @).

Thanks to Dan Feryance for the patch.

Thanks to Eize Slange as well for reporting and providing a patch in PJSIP mailing list.

Change History

comment:1 Changed 7 weeks ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5495:

Fixed #1985: Escape '@' character in the Replaces parameter of REFER request

Note: See TracTickets for help on using tickets.