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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 5 14:30:55 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10543 
====================================================================== 
Reported By:                blitzrage
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   10543
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
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:              11-05-2007 14:30 CST
====================================================================== 
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."
====================================================================== 

---------------------------------------------------------------------- 
 oej - 11-05-07 14:30  
---------------------------------------------------------------------- 
Oh, was this my wake-up call? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-05-07 14:30  oej            Note Added: 0073141                          
======================================================================




More information about the asterisk-bugs mailing list