[asterisk-bugs] [Asterisk 0010543]: Some characters (such as #) are not escaped in SIP headers

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 26 15:26:38 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10543 
====================================================================== 
Reported By:                blitzrage
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10543
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            1.4.0  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-23-2007 16:53 CDT
Last Modified:              09-26-2007 15:26 CDT
====================================================================== 
Summary:                    Some characters (such as #) are not escaped in SIP
headers
Description: 
Had a conversation with OEJ yesterday about the '#' character not getting
converted in all areas of the SIP headers to a %23. Here are some comments
from our conversation:

RFC 2396 says:

"The character "#" is excluded because it is used to delimit a URI from a
fragment identifier in URI references (Section 4)."

The SIP RFC says:

"Excluded US-ASCII characters (RFC 2396 [5]), such as space and control
characters and characters used as URI delimiters, also MUST be escaped."
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 09-26-07 15:26  
---------------------------------------------------------------------- 
Okay, this sounds like a pedantic issue... have you found a device with
which Asterisk fails to interoperate because of this issue? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-26-07 15:26  Corydon76      Note Added: 0071130                          
======================================================================




More information about the asterisk-bugs mailing list