[asterisk-commits] jrose: branch 10 r375846 - /branches/10/UPGRADE.txt

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 5 11:55:19 CST 2012


Author: jrose
Date: Mon Nov  5 11:55:13 2012
New Revision: 375846

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=375846
Log:
chan_sip: Document a change to user-field encoding introduced with r303509

The change in question was added to improve compliance with RFC3261, but at
the time of commit, it wasn't adequately documented in the UPGRADE notes.

(closes issue ASTERISK-20561)
Reported by: Deniz
Review: https://reviewboard.asterisk.org/r/2177/

Modified:
    branches/10/UPGRADE.txt

Modified: branches/10/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/branches/10/UPGRADE.txt?view=diff&rev=375846&r1=375845&r2=375846
==============================================================================
--- branches/10/UPGRADE.txt (original)
+++ branches/10/UPGRADE.txt Mon Nov  5 11:55:13 2012
@@ -121,6 +121,15 @@
  - Setting of HASH(SIP_CAUSE,<slave-channel-name>) on channels is now disabled
    by default. It can be enabled using the 'storesipcause' option. This feature
    has a significant performance penalty.
+ - In order to improve compliance with RFC 3261, SIP usernames are now properly
+   escaped when encoding reserved characters. Prior to this change, the use of
+   these characters in certain SIP settings affecting usernames could cause
+   injections of these characters in their raw form into SIP headers which could
+   in turn cause all sorts of nasty behaviors. All characters that are not
+   alphanumeric or are not contained in the the following lists specified by
+   RFC 3261 section 25.1 will be escaped as %XX when encoding a SIP username:
+    * mark: "-" / "_" / "." / "!" / "~" / "*" / "'" / "(" / ")"
+    * user-unreserved: "&" / "=" / "+" / "$" / "," / ";" / "?" / "/"
 
 UDPTL:
  - The default UDPTL port range in udptl.conf.sample differed from the defaults




More information about the asterisk-commits mailing list