Opened 7 years ago

Closed 7 years ago

#1985 closed defect (fixed)

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 (1)

comment:1 Changed 7 years ago by ming

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

In 5495:

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

Note: See TracTickets for help on using tickets.