[asterisk-bugs] [Asterisk 0013570]: [patch] Malformed registration line is copied verbatim in To and From headers

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 10:36:21 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13570 
====================================================================== 
Reported By:                putnopvut
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13570
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-rc6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-26 18:37 CDT
Last Modified:              2008-12-10 10:36 CST
====================================================================== 
Summary:                    [patch] Malformed registration line is copied
verbatim in To and From headers
Description: 
If a register line in Asterisk is mistyped, like "register => register =>
user:password at domain/contact", then the To and From headers Asterisk sends
out will contain the (unquoted) string

"sip:register => user:password at domain/contact>"

We should check for reserved characters, print a big warning message, and
not send a REGISTER if they are present in any of the individual components
on the register line.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013783 [patch] Cannot register with sip provid...
====================================================================== 

---------------------------------------------------------------------- 
 (0096100) putnopvut (administrator) - 2008-12-10 10:36
 http://bugs.digium.com/view.php?id=13570#c96100 
---------------------------------------------------------------------- 
Re-opening. My initial fix sucked. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 10:36 putnopvut      Note Added: 0096100                          
======================================================================




More information about the asterisk-bugs mailing list